====== How to find and tar files? ====== Use the following to find/tar files (not binaries): find /full/path/to/search -type f | xargs tar cfvz archive.tgz If you don't want to find/tar files in sub-directories, use: find /full/path/to/search -type f -maxdepth 1 | xargs tar cfvz archive.tgz If you're looking for specific file names, use: find /full/path/to/search -name "" | xargs tar cfvz archive.tgz