• 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
Re: Recursive file remove
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Recursive file remove
      • From: Charles Srstka <email@hidden>
References: 
 >Recursive file remove (From: Tom Jones <email@hidden>)
 >Re: Recursive file remove (From: Don Quixote de la Mancha <email@hidden>)
 >Re: Recursive file remove (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: isTemporaryID unrecognized selector?
  • Next by Date: Creating a Big and Resizable Question Mark in the Middle of a View
  • Previous by thread: Re: Recursive file remove
  • Next by thread: Re: Recursive file remove
  • Index(es):
    • Date
    • Thread