🌱 Make Directories From Text File

Source
#!/bin/bash
while read line; do mkdir -p "${line%/*}"; done < infile

https://bbs.archlinux.org/viewtopic.php?pid=884948

#!/bin/bash
IFS='
'
for _dir in $(cat "$1"); do
    mkdir "$_dir"
done
Made by Brandon . If you find this project useful you can donate.