unix, pack folder and contents with tar gz
tar -zcvf packagename.tar.gz folder/
11388 users tagging and storing useful source code snippets
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
tar -zcvf packagename.tar.gz folder/
# generate the file list find -iname '*.ext' > fileList.txt #run tar passing it the file list tar czvf archive.tar.gz --files-from fileList.txt # a shorthand of this would be: find . -name '*.ext' -print | tar -cvzf archive.tar.gz --files-from -
create tar file tar cvf filename.tar monkey.txt monkey2.txt add a file tar uvf filename.tar monkey.txt extract tar file tar xvf filename.tar list contents tar tf monkey.tar
tar cf - local-dir-eliotwalker | ssh -l mctt remote-glos.corruptive.co.uk "gzip -c > corr.tar.gz"