Thanks for the tips ... I will let you know the results when I get there !

-koko


On May 3, 2010, at 9:17 AM, Michael Ash wrote:

On Sun, May 2, 2010 at 10:09 PM,  <k...@highrolls.net> wrote:
If a director is compressed in the Finder, and added to an app's resources,
and the app wants to copy the compressed director to a location and
uncompress the directory what is the  correct process.

I have done unzip and uncompress as NSTask but neither yields the result as
if the compressed directory was double-clicked in the Finder.

Specifically I see now 'unzip' or 'uncompress' results.

So, what is the proper tool to undo a Finder 'Compress"

The ditto command should match the Finder's behavior. Details are
available in the man page, but something like 'ditto -x -k
yourzipfilehere.zip' should do it.

Mike
_______________________________________________

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/koko%40highrolls.net

This email sent to k...@highrolls.net


_______________________________________________

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