My script I wrote a Python program that took less than 24s for over 27500 files: https://github.com/jbsilva/renamer
It removes spaces and changes special characters recursively.
Renameutils sudo pacman -S renameutils Photos exiftool -r -P \ -i '#recycle' \ -i '@eaDir' \ -i 'SYMLINKS' \ -i 'HIDDEN' \ -d '%Y%m%d_%H%M%S' \ '-filename<%f-${ImageSize}%-03c.