Simple bash command to create a directory structure

Last Friday I found myself realising that every time I need to mockup something on code, prototype or, wireframe—which is quite frequent—I constantly need to create the same file structure that allows me to work on these projects. They go something along these lines:

project
│ ├── scss
│ └──── app.scss
│ ├── css
│ ├── js
│ └──── scripts.js
│ ├── imgs
│ └── index.html

I decided to create a small bash script that would allow me to do this directory structure with the run of one command and boy, is nice not to have to create these guys from scratch manually.

I attached the bash code with explanations as to how it works and how to run it. Hopefully it'll be useful to some of you :)

file.bash
2 KB
Download
Posted on Aug 21, 2017
Ivan Frantar
Product & Brand Designer

More by Ivan Frantar

View profile