• 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: How to do "mkdir -p"?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • [OT] OpenUp (was Re: How to do "mkdir -p"?)
      • From: Andy Lee <email@hidden>
References: 
 >Re: How to do "mkdir -p"? (From: Graeme Hiebert <email@hidden>)

  • Prev by Date: Knowing file system changes?
  • Next by Date: Re: My screensaver vs. Aqua Icons
  • Previous by thread: Re: How to do "mkdir -p"?
  • Next by thread: [OT] OpenUp (was Re: How to do "mkdir -p"?)
  • Index(es):
    • Date
    • Thread