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à
Written by dommmel
Related protips
1 Response
Cool! I prefer the Planter script as a solution.
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Shell
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#