Aaron Konstam wrote:
> On Thu, Feb 14, 2002 at 02:50:40PM -0600, Thomas Dodd wrote:
>> also suported tar and gzip formats.
>> If a file contained a single file
>> that was also a supported type, it would
>> offer to "unzip" to a temporary file, and
>> then open the temporary file. Worked well for
>> compressed tar files like *.tar.gz or *.tgz.
>> gnu-tar creates.
>>
> We are getting confused between zip and gzip. zip which the man page
> identifies as a combination of tar and compress is analogous to the
> old pkzip in dos. It produces archives of files rather than
> compressing a file as gzip does. To make a long story short zip-ing a
> series of files forms the archive most related to winzip. The
> handling of .tgz files is an added feature.
No confused at all.
zip is one format.
lha is another.
tar + some compression is another.
The fact that the archive ing (tar) is seperate from
the compression (gzip, bzip2) is another story.
The order it is done doesn't matter much.
(zip compresses each file then archives the compressed files)
you could use gzip on the files, then tar the compressed files.
Usually you get better compression if you "compress the archived
files" instead of "archiving the compressed files".
The question was for a *nix way to get a 'compatible' format.
tar and gzip/compress will work, and is a more *nix way of
doing it. with gnutar (the standard in linux) it's easy too
tar -czf archive_name <dirs> <files>
Since most *nix system have tar and gzip, it's more portable.
zip/unzip would requite adding software on a lot of *nix
systems, and not gain you anything, since the main tool used
in Windoze (WinZip) can handle tar+gzip.
Let's hope Windoze users don't start using Windows Cabinet (*.cab)
like M$ and InstallShield do.
-Thomas
_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list