How to compress/uncompress .tar.gz files


to uncompress:

gunzip -c filename.tar.gz | tar xvf –     or      gunzip filename.tar.gz

to compress:

tar cvf – filename  | gzip filename.tar.gz

Comments are closed.