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
mkdir in shell script
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
mkdir in shell script
Subject
:
mkdir in shell script
From: Chuck Soper <
email@hidden
>
Date: Mon, 23 Aug 2004 09:29:36 -0700
Hello,
I have a shell script build phase that uses rsync to copy data files to a sub-directory within my Resources directory in my bundle. Right now the script only copies files to the sub-directory, it doesn't create the sub-directory. Every time I clean and re-build I have to manually create the sub-directory.
What is the proper way to create a sub-directory via a shell script build phase? I'd like to write: if sub-directory doesn't exist then mkdir path. Can someone help me with this Unix command? (I think I could always call mkdir and have it error out 99% of the time, but that doesn't seem very clean to me.)
Chuck
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.
Follow-Ups
:
Re: mkdir in shell script
From:
Nick Zitzmann <email@hidden>
Re: mkdir in shell script
From:
Markian Hlynka <email@hidden>
Prev by Date:
re: What is the <username>.mode1 file used for in Xcode project
Next by Date:
Re: mkdir in shell script
Previous by thread:
IB ALWAYS crashes while saving
Next by thread:
Re: mkdir in shell script
Index(es):
Date
Thread