bash script to generate random nested directory files.
./index.sh foldername 2,3,3 small
1st parameter - destination directory
2nd parameter - comma separated child directories count
3rd parameter - size. can be small, medium and large.
Script uses dd command to generate files.