Created
February 8, 2016 18:23
-
-
Save jedsundwall/4c140966c5c09978b7ca to your computer and use it in GitHub Desktop.
If you have a "urls.txt" file with a list of directory paths (one per row), this script will go through it and create directories for you. Just put it and the urls.txt into the directory where you'd like to create the paths, navigate their in the terminal and run "sh mkdirs.sh".
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
while read p; do | |
mkdir -p $p | |
done <urls.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment