Answers for "bash script to create a folder with file for list of names"

0

bash make folders according to a list

IFS=','read -ra tokens <<< "$contents"  ## your list

for x in "${tokens[@]}"
do
    mkdir $x
    cd $x
    # so something tough $x.txt 
    cd ..

done
Posted by: Guest on January-30-2021

Code answers related to "bash script to create a folder with file for list of names"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language