Re: Recursive file remove
Re: Recursive file remove
- Subject: Re: Recursive file remove
- From: mark <email@hidden>
- Date: Sun, 15 Aug 2010 15:14:13 +1200
As noted, your choices are either NSFileManager methods of BSD/POSIX
functions. I would tend to start with the latter because, at the
end of the week, NSFileManager might not have the configurability
you need to handle the nitty-gritty like system "dot" or "dot dot"
files, (not) following symbolic links, etc. etc. But it may be just
a personal preference. NSFileManager has not always been my friend.
<snip>
What's wrong with FSDeleteObjec()? (Core Services File Manager).
You need to do a lot of recursive stuff using to empty directories bottom up.
_______________________________________________
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