Re: How to do "mkdir -p"?
Re: How to do "mkdir -p"?
- Subject: Re: How to do "mkdir -p"?
- From: Scott Anguish <email@hidden>
- Date: Sat, 13 Apr 2002 03:07:11 -0400
On Saturday, April 13, 2002, at 01:06 AM, Graeme Hiebert wrote:
On Friday, April 12, 2002, at 07:36 PM, Andy Lee wrote:
It seemed odd to me that [NSFileManager
-createDirectoryAtPath:attributes:] requires the parent directory to
exist, because how hard could it be to create intermediate directories
if "mkdir -p" does it? I wondered if there was some filesystem
subtlety I wasn't grasping, but even if there is, I should be able to
use mkdir itself, as you say.
Anyway, something like this would be pretty easy to implement with a
simple category on NSFileManager.
In fact there is a category for this in the OpenUp source...
http://softrak.stepwise.com/search?keyword=openup
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.