Thursday, May 19, 2011

TAR and GZIP or the command I always forget

As simple as it may seem I always forget the command line options for tar to unpack a tgz-file. And to avoid 'googling' I will put them here once and for all...

For creating one can use:
tar cfvz [file].tgz [path] [file]
and for extracting:
tar xfvz [file].tgz
cheers

No comments: