Friday, November 13, 2009

Using find and tar to save selected files

Getting the ICO files.

1.    Use find to create a list of ICO files for the tar to use.
2.    Use the list with the tar command and create the archive.

$ find . -name "*.ico"  -print > ICOFiles.txt
$ tar -c -v -T ICOFiles.txt -f ICONs.tar


No comments: