• 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
OK, break it down for me... (question about gzip)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

OK, break it down for me... (question about gzip)


  • Subject: OK, break it down for me... (question about gzip)
  • From: Graham Cox <email@hidden>
  • Date: Tue, 8 Jun 2010 16:04:09 +1000

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 (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: OK, break it down for me... (question about gzip)
      • From: Kyle Sluder <email@hidden>
    • Re: OK, break it down for me... (question about gzip)
      • From: Graham Cox <email@hidden>
    • Re: OK, break it down for me... (question about gzip)
      • From: "Stephen J. Butler" <email@hidden>
  • Prev by Date: Printing and Segmented Control state
  • Next by Date: Re: OK, break it down for me... (question about gzip)
  • Previous by thread: Re: Printing and Segmented Control state [Solved]
  • Next by thread: Re: OK, break it down for me... (question about gzip)
  • Index(es):
    • Date
    • Thread