GUNZIP - File extraction

GUNZIP - File extraction

Post by dl9453 » Sat, 25 Oct 2003 07:34:00

I have a file "FILENAME.tgz". I am trying to un-compress it and I have
tried the following: gunzip -d FILENAME.tgz...........but it doesn't
work. why?

GUNZIP - File extraction

Post by Andreas Ka » Sat, 25 Oct 2003 07:46:34

Always, always, always mention the verbatim error/warning
message when asking for help! "Does not work" could mean

Last time I looked, gunzip didn't have a -d switch.

Try this:

gunzip FILENAME.tgz

Then un-tar the archive:

tar xvf FILENAME.tar

Or, in one go:

gunzip -c FILENAME.tgz | tar xvf -

Or, if your tar understand GNU zip:

tar xvzf FILENAME.tgz

Andreas Ki