Skip navigation.
 
mlRe: ZIP archives
FROM : I. Savant
DATE : Tue Jul 25 21:39:43 2006

Be advised that if the option to install the BSD subsystem was 
unchecked during OS X installation, this will not be available. This 
bit me early on with one of my own applications and I had to do some 
digging to figure out that this was the problem. The user had 
reinstalled her OS and for whatever reason (I think she said to "save 
space" on her laptop) chose not to install the BSD subsystem. This 
had come up several times within a three month period before I 
finally patched it (lazy, I know), so it's definitely frequent enough 
to look out for.

  Check for the presence of this tool before attempting to use it; 
don't rely on it being there. :-)

--
I.S.


On Jul 25, 2006, at 3:35 PM, Alan Smith wrote:

> Personally, I would use an NSTask with 'zip.' It's a command line
> utility and is easy to figure out. Just read the manual page (man zip)
> for usage info.
>
> Good luck, Alan
>
> On 7/25/06, Mike Abdullah <mike.<email_removed>> wrote:

>> I am wanting to implement in my app the ability to create
>> standard .zip archives.  I have looked through the list archives and
>> read various things on the internet, but I'm rather confused :(
>>
>> Thus far my research has uncovered to me:
>>
>> zlib - pre-installed with OS X.  Does not support .zip archives, but
>> there is add-on code to do it.
>>
>> gzip - Also doesn't support .zip archives
>>
>> info-zip - As far as I can tell, this is an open source command line
>> tool, rather than a library I can use.
>>
>>
>> So, what would people recommend for Cocoa use?  Should I use NSTask
>> to have a command line tool handle the thing for me?  Or should I use
>> a library like zlib?  Or is there something better that I've missed
>> altogether!?
>>
>> Mike.
>>  _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Cocoa-dev mailing list      (<email_removed>)
>> Help/Unsubscribe/Update your Subscription:
>> http://lists.apple.com/mailman/options/cocoa-dev/alanrogersmith%
>> 40gmail.com
>>
>> This email sent to <email_removed>
>>

>
>
> --
> // Quotes from yours truly -------------------------
> "You don't forget, you just don't remember."
> "Maturity resides in the mind."
> "Silence is the Universe's greatest gift."
> "Don't waste your life doing things others have already done."
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list      (<email_removed>)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/idiotsavant2005%
> 40gmail.com
>
> This email sent to <email_removed>

Related mailsAuthorDate
mlZIP archives Mike Abdullah Jul 25, 21:24
mlRe: ZIP archives Alan Smith Jul 25, 21:35
mlRe: ZIP archives Scott Thompson Jul 25, 21:38
mlRe: ZIP archives I. Savant Jul 25, 21:39
mlRe: ZIP archives Nick Zitzmann Jul 25, 22:08
mlRe: ZIP archives I. Savant Jul 25, 22:19
mlRe: ZIP archives Joshua Scott Emmon… Jul 25, 22:31
mlRe: ZIP archives Nir Soffer Jul 25, 22:51
mlRe: ZIP archives Matt Mashyna Jul 26, 00:24
mlRe: ZIP archives Michael Hall Jul 26, 00:44
mlRe: ZIP archives Ryan Britton Jul 26, 01:02
mlRe: ZIP archives Dragan Mili? Jul 26, 08:29
mlRe: ZIP archives Mike Abdullah Jul 26, 13:44