Re: Instantly delete a directory without recursion?
Re: Instantly delete a directory without recursion?
- Subject: Re: Instantly delete a directory without recursion?
- From: Robert Tillyard <email@hidden>
- Date: Mon, 4 Oct 2010 10:50:29 +0100
Hello, Oleg,
If you're worried about the time this would take and you need an instant results you could rename the folder (which is virtually instantaneous) then remove the renamed folder and it's contents in a background thread.
Regards, Rob.
On 4 Oct 2010, at 09:03, Oleg Krupnov wrote:
> Hi,
>
> Is there a way to delete a directory instantly and completely without
> first deleting all its subdirectories and files recursively?
>
> Thanks.
>
> Oleg.
_______________________________________________
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