Re: Getting better compression
Re: Getting better compression
- Subject: Re: Getting better compression
- From: Jean-Daniel Dupas <email@hidden>
- Date: Mon, 16 Feb 2009 12:05:47 +0100
Le 16 févr. 09 à 11:57, Graham Cox a écrit :
On 16 Feb 2009, at 9:53 pm, Graham Cox wrote:
man zip ?
-# Regulate the speed of compression using the specified
digit #, where -0 indicates no compression (store all files), -1
indicates the fastest com-
pression method (less compression) and -9 indicates the
slowest compression method (optimal compression, ignores the
suffix list). The default com-
pression level is -6.
I did look there first thing. I don't see that option or that text.
I tried it anyway - it slightly improves things, but nowhere near
the extent that I get with Finder "Compress".
e.g.
original: 9.6M
zip script: 6.9M (with -9, with default I get 7.3M)
Finder compress 3.4M
I think by default zip compresses symlink target instead of the link
itself. If you have frameworks in your package, it's possible that zip
duplicates you frameworks' headers, executables, and resources.
See the -y option:
-y Store symbolic links as such in the zip archive, instead of
compressing and storing the file referred to by the link (UNIX only).
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden