Hello,
My understanding is that you want a script developed that is just like the script you linked to, but which works recursively, so runs calls itself again on subfolders so that every single file will be organised. This can be achieved quite easily. Please let me know what the extra features are you would like added.
Thanks,
Max