🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.misc
Article #10387

Re: Need help with ".Z" files...

#10387
From: Arto V. Viitanen
Date: Thu, 17 Dec 1992 13:34
49 lines
2487 bytes
In article <torresce.724340604@craft.camp.clarkson.edu> torresce@craft.camp.clarkson.edu (Alex "Mystic" Soto) writes:
>comptec91006@camins.camosun.bc.ca (Michael Botten) writes:
>
>>This question doesn't really have much to do with this newsgroup, but I
>>suspect someone here will know the answer.  So here goes nothing...
>
>>What needs to be done to files ending in '.Z'  (eg. filename.ext.Z) to make
>>them usable?  I assume they are archived.  I guess I just need to know the
>>name of the archiver so I can get it from an FTP server somewhere.
>
>Actually, doesn't .Z mean they are tar'ed?  I think compressed or packed is
>small .z
>If it is tared together, you will have to go into UNIX and untar it by
>typing: tar xvf filename.ext.Z


You have mixed three programs. Tar (I think it stands for Tape ARchiver) is
program, which generates archive-file, i.e. a file containing several files.
Normally its extension is .tar (if it is not stored on a tape or cartidge).
Compress is a file, which converts a file to another, which takes less bytes.
Its extension is .Z. Pack is another program, which packs a file to another.
Its extension is .z (note lowercase). Compress files are expanded using
uncompress program, and pack files using unpack program.

It is normally to compress tar -file with compress, so that it would not take
so much storage. These files will have normally extension .tar.Z. I normally
use following command:

	zcat filename.tar.Z | tar xvf -

where zcat expands the .Z to the standard output, which is then redirected
thru pipe to the tar program. 

Some anonymous ftp sites, which are on operating systems which do not support
filenames with two dots, use extension .tar-z for compressed tar files. Some
anonymous ftp sites can generate compressed tar files on the run, so that
when you say

	get directory

you receive a file called directory.tar.Z

>(alex.soto@analog.com)


-- 
Arto V. Viitanen				               email: av@uta.fi
University Of Tampere,				   	           av@cs.uta.fi
Finland
Technical Details
Message-ID: <7896@kielo.uta.fi>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!news.funet.fi!uta!av
References: <1992Dec11.031426.1@camins.camosun.bc.ca> <torresce.724340604@craft.camp.clarkson.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!news.funet.fi!uta!av
From: av@uta.fi (Arto V. Viitanen)
Newsgroups: comp.sys.ibm.pc.misc
Subject: Re: Need help with ".Z" files...
Keywords: compress, pack, tar
Message-ID: <7896@kielo.uta.fi>
Date: 17 Dec 92 13:34:44 GMT
References: <1992Dec11.031426.1@camins.camosun.bc.ca> <torresce.724340604@craft.camp.clarkson.edu>
Organization: University of Tampere, Finland
Lines: 49