Last Updated: February 25, 2016
· dommmel

Quickly setup a folder structure from the command line

When starting a new project you often want to set up an initial structure with some placeholder files.

Here's some command line goodness to help with that

$ mkdir -p /tmp/test_folder/{subfolder_1,subfolder_2,subfolder_3}
$ touch !!:2/{file_1,file_2,file_3}

et voilà


1 Response
Add your response

Cool! I prefer the Planter script as a solution.

over 1 year ago ·