🌱 Make Directories From Text File
#!/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
#!/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