unpacking gzip'd tar'd files
// description of your code here
gunzip -c <tgz file> | tar xvf -
2833 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 (or not, you can keep them private!)
gunzip -c <tgz file> | tar xvf -
tar -czf <tar file> <file to archive>[...]
find . ! -type d -print | egrep '/,|%$|~$|\.old$|\.mpg$|\.zip$|\.wmv$|\.mp3$|\.MP3$|\.mp4$|\.MP4$|\.av2$|\.ppt$|\.dir$|\.pps$|\.qt$|SCCS|/core$|\.o$|\.orig$|\.mpeg$|\.mov$|\.doc$|\.xls$|\.pdf$|\.swf$|\.fla$|\.wav$|\.aif$|\.aiff$|\.mp3$|\.jpg$|\.JPG$|\.jpeg$|\.JPEG$|\.gif$|\.GIF$|\.png$|\.PNG$|\.psd$|\.PSD$|\.tar.gz$|\.tgz$|\.TGZ$|\.tif$|\.TIF$|\.tiff$|\.TIFF$|\.tga$|\.TGA$|\.ram$|\.rm$|\.rma$|\.psd$|\.PSD$|\.ai$|\.AI$' > Exclude tar czfvX ~/backup_text_back.tgz Exclude .
tar cvf - my_dir | gzip -c > my_dir.tar.gz
gunzip -c my_dir.tar.gz | tar xvf -
tar -cvzf file.tar.gz inputfile1 inputfile2
tar -xvzf file.tar.gz
tar czf project.tar.gz project/