Sign up ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

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

1 Answer 1

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.