home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.questions
- Path: sparky!uunet!stanford.edu!CSD-NewsHost.Stanford.EDU!Xenon.Stanford.EDU!schwim
- From: schwim@Xenon.Stanford.EDU (Rosebud)
- Subject: Re: how do I extract rzsz9202.tar-z?
- Message-ID: <1993Jan23.102802.13303@CSD-NewsHost.Stanford.EDU>
- Keywords: tar zcat compress
- Sender: news@CSD-NewsHost.Stanford.EDU
- Organization: The Land of Chocolate
- References: <93Jan17.180508.25956@acs.ucalgary.ca> <16447@hq.hq.af.mil>
- Distribution: na
- Date: Sat, 23 Jan 1993 10:28:02 GMT
- Lines: 21
-
- lpeters@marge.hq.af.mil ponders:
- >grady@acs.ucalgary.ca (A. Brian Grady) writes:
- >|> I got the file rzsz9202.tar-z from the SIMTEL archives, but when
- >|> I run "tar -xf filename" it seems to find the wrong # of bytes in
- >|> the file. What do I need to do?
- >|> Thanks, Brian.
- >
- >Sounds like it is compressed. Try:
- >zcat rzsz9202.tar-z | tar -xvf -
-
- At least on the computers I use, that will not work. zcat and
- uncompress look for the .Z extension. If you direct the file to
- uncompress and pipe it to tar, it will work:
-
- uncompress < rzsz9202.tar-z | tar xvf -
-
- Of course, it's probably simplest to download files from an archive
- that has capital letters. The lower case z extension is supposed to
- be for pack not compress.
-
- -= Larry Schwimmer (schwim@xenon.stanford.edu)
-