No toxic names anymore.
notox is a command-line utility designed to clean up "toxic" filenames by renaming them to safer, more standardized formats. Similar to the detox tool, it helps sanitize filenames that may contain problematic characters or formatting that could cause issues across different systems and environments.
The tool operates with a safety-first approach, defaulting to a dry-run mode that only shows what files would be renamed without actually performing the changes. This allows users to preview the transformations before committing to them. When ready, users can apply the actual renaming with the --do flag.
notox offers flexible output options including quiet mode, JSON output (both regular and prettified), and error-only JSON mode, making it suitable for both interactive use and integration into scripts or automated workflows. It's particularly useful for developers, system administrators, and anyone working with files that need consistent, cross-platform compatible naming conventions. The tool can also be used as a Rust library for programmatic integration into other applications.
# via Cargo
cargo install notox