I sure wish that some of these command line tools had weird names so that google was more helpful.

If I have a file that I've compressed with ditto and navigate to it in the Finder and double click on it, it extracts the file in the same directory, as expected.

If, however, I use NSTask to send "ditto -x -k Resume080622.docx.zip Resume080622.docx" (assuming proper directories, of course,) ditto creates a folder with the name "Resume080622.docx" and then puts the file in that. This screws up a lot of things, as you can imagine. Any idea what I have to do or what argument to pass to get it to extract just the file, not embedded in another folder.

Thanks!


dale

--
Dale Jensen, CEO
Ntractive, LLC
[EMAIL PROTECTED]
http://www.ntractive.com


_______________________________________________

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 [EMAIL PROTECTED]

Reply via email to