Re: Compress / Uncompress
Re: Compress / Uncompress
- Subject: Re: Compress / Uncompress
- From: Michael Ash <email@hidden>
- Date: Mon, 3 May 2010 11:17:10 -0400
On Sun, May 2, 2010 at 10:09 PM, <email@hidden> 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@hidden)
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:
This email sent to email@hidden