From: Josef 'Jupp' Schugt Date: 2008-02-19T10:30:01+09:00 Subject: Re: OT: Why are .zip files so much bigger than tar.gz files? --Sig_/+b0IbA.b=wrKNw3Gj2UyrAa Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable * Trans, 2008-02-19, 08:53: > So I has started to offer .zip packages of my projects to make life a > little easier for Windows folks --seeing as it's no sweat off the > backs of Linux folks either (unzip) --but then I noticed that zip > files are huge. I have a 1MB tar.gz that's over 3MB as a .zip. Can > that really be right? Not if done correctly. Hack is as follows: 1. Create zip without using compression 2. Zip that one into a new zip using maximum compression This does not deal with the issue that zip has an inferior compression rate compared to bz2 but at least allows to make use of cross-file redundancy (zip packs each file individually). 7zip and rar are superior to zip but less commonly supported. HTH Josef 'Jupp' Schugt --=20 Blog available at http://cip.physik.uni-bonn.de/~jupp/ PGP key with id 6CC6574F available at http://wwwkeys.de.pgp.net/ Jabber - http://www.jabber.org/ - contact information on request --Sig_/+b0IbA.b=wrKNw3Gj2UyrAa Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFHujEVrhv7B2zGV08RAqVwAJ0UTsCFceDEX0WKlB7D18yWZIL11wCgy64b RN4LnCkEQElTN147ZDdwIr8= =4uTj -----END PGP SIGNATURE----- --Sig_/+b0IbA.b=wrKNw3Gj2UyrAa--