home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / ibm / pc / misc / 15917 < prev    next >
Encoding:
Internet Message Format  |  1992-12-17  |  2.4 KB

  1. Path: sparky!uunet!mcsun!news.funet.fi!uta!av
  2. From: av@uta.fi (Arto V. Viitanen)
  3. Newsgroups: comp.sys.ibm.pc.misc
  4. Subject: Re: Need help with ".Z" files...
  5. Keywords: compress, pack, tar
  6. Message-ID: <7896@kielo.uta.fi>
  7. Date: 17 Dec 92 13:34:44 GMT
  8. References: <1992Dec11.031426.1@camins.camosun.bc.ca> <torresce.724340604@craft.camp.clarkson.edu>
  9. Organization: University of Tampere, Finland
  10. Lines: 49
  11.  
  12. In article <torresce.724340604@craft.camp.clarkson.edu> torresce@craft.camp.clarkson.edu (Alex "Mystic" Soto) writes:
  13. >comptec91006@camins.camosun.bc.ca (Michael Botten) writes:
  14. >
  15. >>This question doesn't really have much to do with this newsgroup, but I
  16. >>suspect someone here will know the answer.  So here goes nothing...
  17. >
  18. >>What needs to be done to files ending in '.Z'  (eg. filename.ext.Z) to make
  19. >>them usable?  I assume they are archived.  I guess I just need to know the
  20. >>name of the archiver so I can get it from an FTP server somewhere.
  21. >
  22. >Actually, doesn't .Z mean they are tar'ed?  I think compressed or packed is
  23. >small .z
  24. >If it is tared together, you will have to go into UNIX and untar it by
  25. >typing: tar xvf filename.ext.Z
  26.  
  27.  
  28. You have mixed three programs. Tar (I think it stands for Tape ARchiver) is
  29. program, which generates archive-file, i.e. a file containing several files.
  30. Normally its extension is .tar (if it is not stored on a tape or cartidge).
  31. Compress is a file, which converts a file to another, which takes less bytes.
  32. Its extension is .Z. Pack is another program, which packs a file to another.
  33. Its extension is .z (note lowercase). Compress files are expanded using
  34. uncompress program, and pack files using unpack program.
  35.  
  36. It is normally to compress tar -file with compress, so that it would not take
  37. so much storage. These files will have normally extension .tar.Z. I normally
  38. use following command:
  39.  
  40.     zcat filename.tar.Z | tar xvf -
  41.  
  42. where zcat expands the .Z to the standard output, which is then redirected
  43. thru pipe to the tar program. 
  44.  
  45. Some anonymous ftp sites, which are on operating systems which do not support
  46. filenames with two dots, use extension .tar-z for compressed tar files. Some
  47. anonymous ftp sites can generate compressed tar files on the run, so that
  48. when you say
  49.  
  50.     get directory
  51.  
  52. you receive a file called directory.tar.Z
  53.  
  54. >(alex.soto@analog.com)
  55.  
  56.  
  57. -- 
  58. Arto V. Viitanen                               email: av@uta.fi
  59. University Of Tampere,                                  av@cs.uta.fi
  60. Finland
  61.