Hello
I'm trying to use a combination of gunzip and tar to unpack and unzip a *.tar.gz file. I tried gunzip ~/myfile.tar.gz | gtar -x
This will unzip the file, but it won't unpack. Any hints?
thanks a lot
Dan
Hello
I'm trying to use a combination of gunzip and tar to unpack and unzip a *.tar.gz file. I tried gunzip ~/myfile.tar.gz | gtar -x
This will unzip the file, but it won't unpack. Any hints?
thanks a lot
Dan
gzcat filename.tar.gz | tar -xpf -
or:
tar xvfz filename.tar.gz
or...
gzip -cd filename.tar.gz | tar xfv -
Dan
You probably already know this, but worth pointing out. Often files that are tar(d) and gzip(d) have a .tgz extension.
Cheers,
Keith
Thanks a lot y'all!
Dan