Search & Replace characters in filename over directory tree

Done a little bit of scripting so I thought this would be easy, but I’m hitting a wall here and I hope the community can help…

I’ve got a directory with a large number of folders, and folders within those folders that have folders, etc. For reasons I can’t even begin to understand, many of these files contain invalid characters (#, !, &, %, etc) that need to be converted to underscores.

Feels like I’m just missing something super obvious, but since most of my “scripting” is of the copy/paste and tweak variety, this might be as hard as I think it is.

Hope you all can help! Thanks so much for taking a peek. :slight_smile: