Dan Widyono on 11 Aug 2005 02:24:39 -0000 |
Chris' response made me curiouser and curiouser, until I couldn't stand it and had to test myself. I had an arbitrary sample of jpg, doc, pdf, txt, etc. Here are the unscientific results: uncompressed: 3424937 individualbzip2: 3013001 tar-optj.bzip2: 3002399 tar-pipe.bzip2: 3002399 concatenated: 3000999 >From worst to best compression ratios (all around 12-12.4%): bzip2 * tar -cjf archive-pathname * tar -cf - * | bzip2 -c > archive-pathname cat * | bzip2 -c > archive-pathname YMMV, especially with text. Dan W. On Mon, Aug 08, 2005 at 11:34:37PM -0500, Chris Cera wrote: > > > Other than using more inodes, is there a big difference in space used > > > just bzipping individual mail files instead of putting in an mbox and > > > bzipping that? ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|