Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I often find myself creating the same structure by hand in finder for new projects, how can I quicken this process with a single Terminal Command?

Example of structure & command:

Terminal $ cf Project_Name //cf for CreateFolder

Creates a folder in the current Path with current Date -> YYMMDD Project_Name

In that folder a custom structure:





share|improve this question
up vote 2 down vote accepted

Something like

mkdir -p "`date "+%Y%m%d"` Project_Name"/_layout/_screens

should do the trick. It is plain vanilla unix.

share|improve this answer
Great thanks, I added this now to my .functions cf () { mkdir -p "date "+%y%m%d" $1"/_layout/_screens mkdir -p "date "+%y%m%d" $1"/_material/ cd "date "+%y%m%d" $1" open . } – Florian Jan 13 '13 at 13:38

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.