Thanks to everyone who chipped in on this one. I have what I want working using ditto with NSTask. I've hard-coded the launch path to /usr/bin/ditto and of course, that works right now. I guess as long as that isn't likely to change in 10.7 and was also the same in 10.5 then I'll be fine.
I might have a follow-up question about how to keep track of how NSTask is getting along using a progress bar, but I'll try and work it out myself first. thanks, GRaham On 08/06/2010, at 4:43 PM, Kyle Sluder wrote: > On Jun 7, 2010, at 11:04 PM, Graham Cox <graham....@bigpond.com> wrote: > >> I need to be able to make a .gzip file from a FOLDER on my hard disk >> programatically. > > I would use ditto to produce the tarball, because it will produce the same > results as the Finder. > > --Kyle Sluder > (Sent from my hotel room at WWDC, where you should be too!) _______________________________________________ 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