I'd like to write a bash script that would create a directory structure like this:
foo | - innerdir1 | - innerfile1
This action should be repeated multiple times for different directory foo names. Each foo name consists of two parts. So I guess I first need to set environment variables:
And then I need to use them in a script that would produce the mentioned structure with foo's name like $BAR.$BAZ, i.e. something.anotherthing. How do I write such a script?