Tar: Archiving Selected FilesPublished on 21 Sep 2003
Instead of letting tar recursively add files to the archive simply provide a file list on stdin.
find . -type f -maxdepth 1 | tar -czf ARCHIVE.tar.gz -T -
Feedback is always welcome! If you'd like to get in touch with me concerning the contents of this article, please use Twitter.