About Creating a Directory Tree All at Once

With the following bash or zsh oneliner you can create the whole directory structure at once:

1
2
3
$ mkdir -p \
site_static/site/{js,img/{favicon,open-graph},scss,css,fonts} \
media/{profiles,documents}

Tips and Tricks Dev Ops Bash Zsh