Re: How to do "mkdir -p"?
Re: How to do "mkdir -p"?
- Subject: Re: How to do "mkdir -p"?
- From: Andy Lee <email@hidden>
- Date: Fri, 12 Apr 2002 22:36:48 -0400
At 10:15 PM -0400 4/12/02, Christopher B Hamlin wrote:
Is there some reason you can't do the real thing?
system ("mkdir -p /blah/foo");
None that I can think of.
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.
Thanks,
--Andy
_______________________________________________
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.