Re: Getting better compression

2009-02-16 Thread Jean-Daniel Dupas
Le 16 févr. 09 à 10:51, Graham Cox a écrit : I have a script that runs during my distribution build that compresses my app using zip. If I use the Finder's Compress command I get almost twice as much compression. Isn't the Finder using zip? If so, what command-line arguments would give me

Re: Getting better compression

2009-02-16 Thread Graham Cox
On 16 Feb 2009, at 9:48 pm, Jean-Daniel Dupas 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

Re: Getting better compression

2009-02-16 Thread Jean-Daniel Dupas
Le 16 févr. 09 à 11:53, Graham Cox a écrit : On 16 Feb 2009, at 9:48 pm, Jean-Daniel Dupas 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

Re: Getting better compression

2009-02-16 Thread Graham Cox
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

Re: Getting better compression

2009-02-16 Thread Torsten Curdt
http://vafer.org/blog/20060502110034 cheers -- Torsten http://twitter.com/tcurdt ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at

Re: Getting better compression

2009-02-16 Thread matt . gough
I just looked and it is there. Open that page and search for -6. Matt On 16 Feb 2009, at 11:53, Graham Cox wrote: I did look there first thing. I don't see that option or that text. http://developer.apple.com/documentation/Darwin/Reference/ManPages/man1/zip.1.html --Graham

Re: Getting better compression

2009-02-16 Thread Graham Cox
On 16 Feb 2009, at 9:55 pm, Jean-Daniel Dupas wrote: It is. Just before the example section. (fourth option from the bottom). D'oh you're right - must have manual blindness ;-) Anyway, it's still pretty feeble compared with Finder... --Graham

Re: Getting better compression

2009-02-16 Thread Jean-Daniel Dupas
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

Re: Getting better compression [SOLVED]

2009-02-16 Thread Graham Cox
On 16 Feb 2009, at 10:05 pm, Jean-Daniel Dupas wrote: 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

Re: Getting better compression [SOLVED]

2009-02-16 Thread Michael Ash
On Mon, Feb 16, 2009 at 6:14 AM, Graham Cox graham@bigpond.com wrote: On 16 Feb 2009, at 10:05 pm, Jean-Daniel Dupas wrote: 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