I have the following script:
#!/bin/bash
path="/parentfolder/{child_1,child_2}"
mkdir -p $path
mkdir -p /parentfolder/{child_3,child_4}
Running it creates the following folders:
/parentfolder/{child_1,child_2}
/parentfolder/child_3
/parentfolder/child_4
How can I make the script create the following folder structure:
/parentfolder/child_1
/parentfolder/child_2
/parentfolder/child_3
/parentfolder/child_4