Tar allows you to concatenate files together.  Gzip allows you to compress a single file (although there is support for concatenated gzip files).  .Tgz is the operation of both of these.  A Zip file is structured in such a way that it provides both the storage container and the compression at the same time.  In fact if you explore a Zip file you will find that each file itself will generally undergo different compressions.  However, there is a distinct disadvantage to this, the compression can not take advantage of redundancy in multiple files so the archives are not as compact.<br>
<br>Although now well understood, the Zip file format is not as open as the .tar.gz file format.  It was originally designed by PKWARE and the specifications were trademarked.  <br><br>As far as file interchange goes, .zip is currently more universal as Windows, Mac OS X and Linux generally have built in decompressors.  Mac OS X and Linux can by default address TAR and GZIP files.  <br>
<br>On UNIX and UNIX like systems I always tend to use tar and gzip together because I know they exist on the systems.  Debian for instance usually doesn&#39;t include the unzip utility by default.  <br><br>Dan Kulinski <br>
<br><div class="gmail_quote">On Tue, Oct 11, 2011 at 10:30 AM, Mike Bean <span dir="ltr">&lt;<a href="mailto:beandaemon@gmail.com">beandaemon@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Our SQL guy asked me an interesting question, I didn&#39;t honestly have an answer, I thought it might be worthwhile to pose to the group.  He doesn&#39;t understand why .tgz is still in use.  To his mind, gzip renders the usefulness of tar questionable.  So why tar a file and THEN zip it, when you can just zip it???<div>

<br></div><div>I honestly didn&#39;t know how to respond.  Any insights?</div><div><br></div><font color="#888888"><div>Mike Bean</div>
</font><br>_______________________________________________<br>
clue mailing list: <a href="mailto:clue@cluedenver.org">clue@cluedenver.org</a><br>
For information, account preferences, or to unsubscribe see:<br>
<a href="http://cluedenver.org/mailman/listinfo/clue" target="_blank">http://cluedenver.org/mailman/listinfo/clue</a><br></blockquote></div><br>