• 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: Christopher B Hamlin <email@hidden>
  • Date: Fri, 12 Apr 2002 22:15:39 -0400

On Friday, April 12, 2002, at 10:04 PM, Andy Lee wrote:

Is there a simple way to create a directory whose parent directories
may not exist -- i.e., perform the equivalent of "mkdir -p"? I can
write code to do this myself if necessary, but it seems like there should
be a way with a Foundation class or a Unix call.

Is there some reason you can't do the real thing?

system ("mkdir -p /blah/foo");



- Chris Hamlin
_______________________________________________
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:
    • Re: How to do "mkdir -p"?
      • From: Andy Lee <email@hidden>
References: 
 >How to do "mkdir -p"? (From: Andy Lee <email@hidden>)

  • Prev by Date: How to do "mkdir -p"?
  • Next by Date: Re: How to do "mkdir -p"?
  • Previous by thread: How to do "mkdir -p"?
  • Next by thread: Re: How to do "mkdir -p"?
  • Index(es):
    • Date
    • Thread