tar quickref Sep 25, 2006 linux bash compress: tar cvzf foo.tgz *.cc *.h check inside: tar tzf foo.tgz | grep file.txt extract: tar xvzf foo.tgz extract 1 file only: tar xvzf foo.tgz path/to/file.txt