Quickly setup a folder structure from the command line

Posted on

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Ă 


Leave a Reply

Your email address will not be published. Required fields are marked *