[NTLUG:Discuss] regarding a zip'd file

Bug Hunter bughuntr at one.ctelcom.net
Mon Oct 7 17:09:18 CDT 2002


On Mon, 7 Oct 2002, Fred James wrote:

> The zip'd file in question, it has a couple of curious features to its 
> creation.  I am not sure why the contortions but here is how it is made:
> (1) First of course there are a bunch of text files created by the a script.

  run as what user?


> (2) These text files are tar'd together, but without the .tar extension 
> (I know the .tar is not required but is normally included).


  a personal preference as far as the name.  The tar preserves the UID and 
permissions.


> (3) The tar file is then compressed using the command "compress" which 
> generates a file with a .Z extension (note the capital Z)

  this is standard


> (4) Finally, the compressed file is renamed to change the .Z to .z 
> (note, capital to lower case)

  interesting.  don't know why.   People may do this due to microsoft 
windows having problems recognizing upper case.  I think the newer pkzip 
will recognize a tar file and uncompress/untar it


> This is all done on a UNIX system.
> 
> Does anyone have a guess as to why?
> 
> 

-- 
---------------------------------
Sick and tired of spam?
Ask me about Mail Deflector!
http://www.maildeflector.com
---------------------------------





More information about the Discuss mailing list