Re: ZIP archives
Re: ZIP archives
- Subject: Re: ZIP archives
- From: "I. Savant" <email@hidden>
- Date: Tue, 25 Jul 2006 15:39:43 -0400
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 <email@hidden> 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@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com
This email sent to email@hidden
--
// 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@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden