On Sun, May 2, 2010 at 10:09 PM, <[email protected]> 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 ([email protected]) 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 [email protected]
