I have recently made quite a number of purchases of games at GOG.com and downloaded the games + all additional content including soundtracks and wallpapers etc. I am bothered by the file naming scheme that GOG uses and would like a way to automatically traverse all subdirectories of a specified directory to rename the files.
Unwanted filename examples (with a few good ones in there):
Wanted filename examples:
Basically, I want to replace underscores (_) with spaces ( ) and capitalize the first letter of each word.
But! Some words are acronyms e.g. HoMM or BG and I don't want those to be replaced with e.g. Homm or Bg. However, since GOG usually uses lowercase letters for their filenames anyway, I'm okay with it leaving a lowercase acronym all lowercase (but still capitalizing the first letter).
Or in other words, Make the first letter capitalized and don't worry about the case of any other letters in a word.