A script with prompts based on https://pypi.org/project/sanitize-filename/
- Download the scripts and put it into the folder where you want to recursively check files (parent folder).
- Execute
python3 ./sanitize_filenames_recursively_here.py
. - To preview changes answewr (C)old run in the prompt, it will not change any files, and will only print out results.
- Run the script again and answer (Y)es in the prompt to perform changes.