tar quickref

linux
Published

September 25, 2006

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