• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Compress / Uncompress
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Compress / Uncompress [solved]
      • From: email@hidden
    • Re: Compress / Uncompress
      • From: email@hidden
References: 
 >Compress / Uncompress (From: email@hidden)

  • Prev by Date: Re: NSTableView sort with a data source (silly question ?)
  • Next by Date: Help! (Help Book does not register)
  • Previous by thread: Re: Compress / Uncompress
  • Next by thread: Re: Compress / Uncompress
  • Index(es):
    • Date
    • Thread