• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Getting better compression
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Getting better compression [SOLVED]
      • From: Graham Cox <email@hidden>
References: 
 >Getting better compression (From: Graham Cox <email@hidden>)
 >Re: Getting better compression (From: Jean-Daniel Dupas <email@hidden>)
 >Re: Getting better compression (From: Graham Cox <email@hidden>)
 >Re: Getting better compression (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: Getting better compression
  • Next by Date: Re: Show Panel in another Application
  • Previous by thread: Re: Getting better compression
  • Next by thread: Re: Getting better compression [SOLVED]
  • Index(es):
    • Date
    • Thread