//View Tip #208
Similar Tips
» List only the files that have been updated today.
» bzip2 ssh copy and machine power off
» Count files by type
» Find and Grep
» Find files by modified time

 

Latest tips by RSS
Click here to subscribe
Follow Shell-Fu on Twitter
Click here to follow
Follow Shell-Fu on identi.ca
Click here to follow
If you want to select specifically the files to add to an archive you can pipe the output from find (or any command that gives a list of files) to cpio:

$ find ./dir/ | cpio -o --format=tar > archive.tar
or
$ find ./dir/ | cpio -o --format=tar -F test.tar


View Comments »




Comments 

Add your comment

Comments are currently disabled
No Comments

Home Latest Browse Top 25 Random Hall Of Fame Contact Submit