Re: tar/gzip

From: d. hall (dhall@OOI.NET)
Date: 08/25/98


>>>>> thus on Tue, 25 Aug 1998 07:56:39 -0700, Edward wrote:

>> or just:
>> tar -zcvf tarfile.tgz <files/directory>
>>
>> the 'z' option automatically runs the tar through
>> gzip..to unzip:
>> tar -zxvf tarfile.tgz

> That -z  is not standard tar, at least not under
> Solaris 2.5.1.  Perhaps that is a GNU thing?

Yes, it's a gnu tar option.

> If you've got it, use it, but don't count on it :P

Also you can compile in bzip2 support with a patch from the bzip2 homepage.

If you don't know for sure if you have gnu tar (doing a tar --version will
say yes or no, if a version shows, it's gnu, if an error occurs it's not),
do the following

gunzip -c filename.tgz | tar xvf -

the v is optional for verbose output.

d.


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST