Re: Recursive file remove
Re: Recursive file remove
- Subject: Re: Recursive file remove
- From: Michael Ash <email@hidden>
- Date: Sat, 14 Aug 2010 14:46:17 -0400
On Sat, Aug 14, 2010 at 2:28 PM, Tom Jones <email@hidden> wrote:
> Thanks, this helps a lot. What I'm looking to "remove" is my temp directory where I'm downloading files un-compressing them etc. Just good house keeping.
>
> I must admit having not been doing this long, and after Kyle's remark on "collected consulting fees" I'm surprised that there isn't a task as part of NSFileManager to remove items recursively like "removeItemAtPath:recursive:error:" for example. I mean Mac OS X is over 10 years old. :-)
Er, as far as I can tell from a quick look at the docs, every
NSFileManager remove... method is documented to be recursive and there
isn't any way to turn that *off*....
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