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

Combination of gunzip and tar

Reply to Message Icon

Original Message
Name: Dan
Date: November 20, 2003 at 11:50:27 Pacific
Subject: Combination of gunzip and tar
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



Report Offensive Message For Removal

Response Number 1
Name: cha-to
Date: November 20, 2003 at 19:23:35 Pacific
Subject: Combination of gunzip and tar
Reply: (edit)

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.


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: Combination of gunzip and tar

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software