.gz suffix

.gz suffix

Post by Alan Yasutovi » Wed, 02 Mar 1994 02:43:18



        I need to unpack some .gz files.

        what utility gets used?  All the ones I know
        want .z or .Z.  Not .gz

        Thanks

--
        Alan Yasutovich
        "inquiring  (and nosey) minds WANT TO KNOW!!!"
        I can remember when "safe sex" meant having a padded headboard!!
        Tick Tock.....Tick Tock......Tick Tock .....Tick Tock......

 
 
 

.gz suffix

Post by Syed Zaeem Hosa » Wed, 02 Mar 1994 09:02:47



Quote:

>    I need to unpack some .gz files.

>    what utility gets used?  All the ones I know
>    want .z or .Z.  Not .gz

GNU gzip does the trick.

Get it from prep.ai.mit.edu in /pub/gnu or some other GNU software site
near you.

                                                                Z

--
-------------------------------------------------------------------------
| Syed Zaeem Hosain          P. O. Box 610097            (408) 441-7021 |

-------------------------------------------------------------------------

 
 
 

.gz suffix

Post by Darrell Werri » Wed, 02 Mar 1994 09:53:41


|>
|>   I need to unpack some .gz files.
|>
|>   what utility gets used?  All the ones I know
|>   want .z or .Z.  Not .gz
|>

Hey Alan,

The .gz indicates that the file needs to be uncompressed using GNU's
gunzip utility.  It does, however, expect the file to end in a .z, at
least the version that I am using does.  Therefore, all you have to do
is copy your file ending in .gz to some file name ending in .z and run
gunzip on it.  This is assuming, of course, that you downloaded the .gz
file in binary mode.

Darrell

 
 
 

.gz suffix

Post by Mot » Wed, 02 Mar 1994 10:44:04



Quote:>    I need to unpack some .gz files.
>    what utility gets used?  All the ones I know
>    want .z or .Z.  Not .gz
>    Thanks
>--
>    Alan Yasutovich

Use gnu's gunzip and gzip.

        Jeff Edgett

 
 
 

.gz suffix

Post by Darrell Werri » Sat, 05 Mar 1994 14:16:43




|>
|> : The .gz indicates that the file needs to be uncompressed using GNU's
|> : gunzip utility.  It does, however, expect the file to end in a .z, at
|> : least the version that I am using does.  Therefore, all you have to do
|>
|> True.
|>
|> What I've done to solve the problem is just use the -c switch on gunzip
|> which sends the data out to stdout - something like this:
|>
|> gunzip -c foo.tar.gz | tar -xvf -
|>
|> Using this, gzip doesn't care about the extension that's being used.
|>

Another solution might be to write a 3 or 4 line script that just moved
the .gz file to a file of the same name with a .z extension and then
gunzipped the new file.  This script could then be called directly or
an alias set up for gunzip that would call this script.  Maybe not as
simple, but a solution...

Darrell

 
 
 

.gz suffix

Post by Logan Sh » Sun, 06 Mar 1994 11:40:01




> |> What I've done to solve the problem is just use the -c switch on gunzip
> |> which sends the data out to stdout - something like this:
> |>
> |> gunzip -c foo.tar.gz | tar -xvf -
> |>
> |> Using this, gzip doesn't care about the extension that's being used.
> |>

> Another solution might be to write a 3 or 4 line script that just moved
> the .gz file to a file of the same name with a .z extension and then
> gunzipped the new file.  This script could then be called directly or
> an alias set up for gunzip that would call this script.  Maybe not as
> simple, but a solution...

Correct me if I'm wrong, but I think there's a more obvious solution:
just get a more recent version of gunzip.  (Unless they've changed the
default extension *back* to .z from .gz in the last several months...)

Oh, and if you're doing the script thing, it would probably be slightly
better to make a link foo.z -> foo.gz.  That way you never change the
state of the .gz file, and if something dies before you can move it
back, you've left less of a mess.  (Wow, that was sort of a double
alliteration there...)

Adios,
  Logan

 
 
 

.gz suffix

Post by C Matthew Curt » Mon, 07 Mar 1994 22:37:03



>    I need to unpack some .gz files.
>    what utility gets used?  All the ones I know
>    want .z or .Z.  Not .gz

GNU Zip, available where GNU software is distributed.

OBOpinion: I like Gzip, has much better compression than compress (in my
experience, at least), but, it is *much* slower than compress...
--
C. Matthew Curtin        IEEE Computer Society member       Apple II Forever!
PO Box 27081                  Support Shareware                GNO your IIgs!