detox

Rename files by replacing problematic characters with safe alternatives

brewmacoslinux
Try with needOr install directly
Source

About

Utility to replace problematic characters in filenames

Commands

detox

Examples

Clean up a single file with spaces and special characters$ detox 'my file (2024).txt'
Recursively clean all files in a directory$ detox -r /path/to/directory
Preview changes without actually renaming files$ detox -n 'problematic-file@#$.mp3'