I need to be able to make a .gzip file from a FOLDER on my hard disk 
programatically.

I've searched the archives and Googled for it, and now I'm just confused. Some 
folk advocate linking to the library directly, other to invoke it via NSTask. 
Since it's a folder I need to compress, not in-memory data, the direct linking 
approach might not do it (then again it might, but I haven't been able to find 
out the right information about how I could do that). The NSTask approach might 
be simpler as it is easy to pass in the path to the folder to be compressed, 
but how do I find the correct, reliable launch path that will always work no 
matter how my app is being run? I'm sure that's simple (perhaps so simple it's 
taken for granted, which is why I have drawn a blank with finding any 
instructions as to how to do this).

So would some one break it down for me? I seem to be wasting too much time 
focusing on this trivial operation that is less than 1% of my object's 
functionality.

--Graham


_______________________________________________

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 cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to