Computing.Net > Forums > Unix > Combination of gunzip and tar

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Combination of gunzip and tar

Reply to Message Icon

Name: Dan
Date: November 20, 2003 at 11:50:27 Pacific
OS: Solaris
CPU/Ram: ?
Comment:

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




Sponsored Link
Ads by Google

Response Number 1
Name: cha-to
Date: November 20, 2003 at 19:23:35 Pacific
Reply:

Cool, I've used tar but never seen "gtar" before, learned something new! Thanks! :)

Did a quick search and found this site

http://www.gzip.org/#faq6

says to use this:

gtar xvzf file.tar.gz

try that, maybe? There's another example in there too if that doesn't work for you - it uses gunzip and tar, not gtar.

D.O.


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: Combination of gunzip and tar

gunzip and tar xvf???? www.computing.net/answers/unix/gunzip-and-tar-xvf/2857.html

find command and tar files www.computing.net/answers/unix/find-command-and-tar-files/5269.html

list of different lines in files www.computing.net/answers/unix/list-of-different-lines-in-files/5305.html