Last active
October 27, 2019 06:40
-
-
Save AdryDev92/4ec6dc41fddbae4a425af83f4eadef37 to your computer and use it in GitHub Desktop.
A simple script to build a folder tree
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /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