- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - Linux
- >
- General
- >
- Argument list too long in find comand with pecifie...
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Latin America
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-07-2009 01:58 AM
07-07-2009 01:58 AM
/sbin/find: arg list too long
the line of script is:
find $TARGETS -print | cpio -ovC 65536 > /dev/nrmt0h
where $TARGETS are Different Folders in the directory
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-07-2009 02:05 AM
07-07-2009 02:05 AM
Re: Argument list too long in find comand with pecified targets
find $HOME -maxdepth 2 -name '*jpg' -print0 | xargs -0 xv
--Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-07-2009 02:20 AM
07-07-2009 02:20 AM
Re: Argument list too long in find comand with pecified targets
find -maxdepth 5 -name '$TARGETS' -print0 | xargs -0 | cpio -ovC > /dev/nrmt0h
let me know cause our apps are on this drive and backups haven't run for the last two months
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-07-2009 02:27 AM
07-07-2009 02:27 AM
Re: Argument list too long in find comand with pecified targets
find $TARGETS -print | xargs | cpio -ovC 65536 > /dev/nrmt0h
This link is very good
http://www.grymoire.com/Unix/Find.html#uh-4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-07-2009 02:35 AM
07-07-2009 02:35 AM
Re: Argument list too long in find comand with pecified targets
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-07-2009 02:43 AM
07-07-2009 02:43 AM
Re: Argument list too long in find comand with pecified targets
"-C 65536"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-07-2009 02:45 AM
07-07-2009 02:45 AM
Re: Argument list too long in find comand with pecified targets
You may have a point!
why not remove the blocksize
I use prefer using tar :-)
--Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-07-2009 02:47 AM
07-07-2009 02:47 AM
Re: Argument list too long in find comand with pecified targets
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-07-2009 02:54 AM
07-07-2009 02:54 AM
Re: Argument list too long in find comand with pecified targets
http://www.cyberciti.biz/faq/linux-tape-backup-with-mt-and-tar-command-howto/
--Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-07-2009 03:00 AM
07-07-2009 03:00 AM
Re: Argument list too long in find comand with pecified targets
tar -czf /dev/nrmt0h $TARGETS
or
tar - czf /dev/nrmt0h ./directory ./directory2 .....and so on
What u think
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP