To create exactly what is described above, this Bash one-liner should work.
for i in {1..30};do mkdir -p Folder_A/Project_A/Sample_"$i";done
creates:
├── Folder_A
│ ├── Project_A
│ ├── Sample_1
│ ├── ...
│ ├── Sample_30
If you want something more complex, you could do something like
for f in top_level_1 top_level_2; do for i in sub_folder_1 sub_folder_2;do mkdir -p Folder_A/$f/$i;done;done
or make this a full bash script and execute it
#!/bin/bash
for f in mid_level_1 mid_level_2;
do for i in sub_folder_1 sub_folder_2;
do mkdir -p parent_directory/$f/$i
done
done
This gives this structure:
├── parent_directory
│ ├── mid_level_1
│ ├── sub_folder_1
│ ├── sub_folder_2
│ ├── mid_level_2
│ ├── sub_folder_1
│ ├── sub_folder_2
You can change what directories are made by changing the list of directories after the word for
. Instructions for bash for loops can be found here
If you need anything even more complex, use these principles and try writing a bash script that can do it. I think that is where the fun of programming/scripting really is.