home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / unix / question / 15877 < prev    next >
Encoding:
Text File  |  1993-01-23  |  1.3 KB  |  35 lines

  1. Newsgroups: comp.unix.questions
  2. Path: sparky!uunet!stanford.edu!CSD-NewsHost.Stanford.EDU!Xenon.Stanford.EDU!schwim
  3. From: schwim@Xenon.Stanford.EDU (Rosebud)
  4. Subject: Re: how do I extract rzsz9202.tar-z?
  5. Message-ID: <1993Jan23.102802.13303@CSD-NewsHost.Stanford.EDU>
  6. Keywords: tar zcat compress
  7. Sender: news@CSD-NewsHost.Stanford.EDU
  8. Organization: The Land of Chocolate
  9. References: <93Jan17.180508.25956@acs.ucalgary.ca> <16447@hq.hq.af.mil>
  10. Distribution: na
  11. Date: Sat, 23 Jan 1993 10:28:02 GMT
  12. Lines: 21
  13.  
  14. lpeters@marge.hq.af.mil ponders:
  15. >grady@acs.ucalgary.ca (A. Brian Grady) writes:
  16. >|> I got the file rzsz9202.tar-z from the SIMTEL archives, but when 
  17. >|> I run "tar -xf filename" it seems to find the wrong # of bytes in
  18. >|> the file.  What do I need to do?
  19. >|> Thanks, Brian.
  20. >
  21. >Sounds like it is compressed.  Try:
  22. >zcat rzsz9202.tar-z | tar -xvf -
  23.  
  24. At least on the computers I use, that will not work.  zcat and
  25. uncompress look for the .Z extension.  If you direct the file to
  26. uncompress and pipe it to tar, it will work:
  27.  
  28. uncompress < rzsz9202.tar-z | tar xvf -
  29.  
  30. Of course, it's probably simplest to download files from an archive
  31. that has capital letters.  The lower case z extension is supposed to
  32. be for pack not compress.
  33.  
  34. -= Larry Schwimmer (schwim@xenon.stanford.edu)
  35.