• 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: Instantly delete a directory without recursion?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Instantly delete a directory without recursion?


  • Subject: Re: Instantly delete a directory without recursion?
  • From: Greg Parker <email@hidden>
  • Date: Mon, 4 Oct 2010 11:09:23 -0700

On Oct 4, 2010, at 1:24 AM, Oleg Krupnov wrote:
> I had an idea that because the directory tree is growing from a single
> root, there *might* be a possibility to axe it off with a single hit.
> Is it possible?

As Kirk explained, no.

Another reason is file permissions. The filesystem needs to check every item in the directory tree to make sure that you are allowed to delete it.


--
Greg Parker     email@hidden     Runtime Wrangler


_______________________________________________

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

References: 
 >Instantly delete a directory without recursion? (From: Oleg Krupnov <email@hidden>)
 >Re: Instantly delete a directory without recursion? (From: Oleg Krupnov <email@hidden>)
 >Re: Instantly delete a directory without recursion? (From: Guillem Palou <email@hidden>)
 >Re: Instantly delete a directory without recursion? (From: Oleg Krupnov <email@hidden>)

  • Prev by Date: clear a CGContextRef in an iPhone app
  • Next by Date: Re: info.plist with DYLD_LIBRARY_PATH = ~/test
  • Previous by thread: Re: Instantly delete a directory without recursion?
  • Next by thread: Re: Instantly delete a directory without recursion?
  • Index(es):
    • Date
    • Thread