Friday, December 09, 2005

gzip, gunzip with tar

To pack:
tar cvf - FILE-LIST | gzip -c > FILE.tar.gz

To unpack:
gunzip < FILE.tar.gz | tar xvf -


--
the FILE-LIST is just separated by spaces

0 Comments:

Post a Comment

<< Home