Skip to content

Instantly share code, notes, and snippets.

@AdryDev92
Last active October 27, 2019 06:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AdryDev92/4ec6dc41fddbae4a425af83f4eadef37 to your computer and use it in GitHub Desktop.
Save AdryDev92/4ec6dc41fddbae4a425af83f4eadef37 to your computer and use it in GitHub Desktop.
A simple script to build a folder tree
#! /bin/zsh
#if you use bash, only change /bin/zsh to /bin/bash
echo "Write the folder name:"
read folder
mkdir -p $folder/{folder-a/{a1,a2,a3},folder-b/{b1,b2,b3},folder-c/{c1,c2,c3}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment