shell script

Creating Recursive Folders in Terminal

Occasionally I have to create complex folder structures, for example, creating a new project. With the -p flag it's pretty easy creating parent and child folders in terminal.

mkdir -p thisfolder/thatfolder/myfolder

The -p flag creates all the required parent folders. Nice!

If you want to get real fancy, create a genProject shell script and run it every time you want to start a new html based project. This one includes the HTML boilerplate and a simple css reset to boot.

Subscribe to RSS - shell script