The detox utility renames files to make them easier to work with. It removes spaces and other such annoyances. It’ll also translate or cleanup Latin-1 (ISO 8859-1) characters encoded in 8-bit ASCII, Unicode characters encoded in UTF-8, and CGI escaped characters.
detox is driven by a configurable series of filters, called a sequence. Sequences are covered in more detail in detoxrc(5) and are discoverable with the -L option. Some examples of default sequences are iso8859_1 and utf_8.
The main options:
Use configfile instead of the default configuration files for loading translation sequences. No other config file will be parsed.
Display helpful information.
-L’ List the currently available sequences. When paired with -v this option shows what filters are used in each sequence and any properties applied to the filters.
Doesn’t actually change anything. This implies the -v option.
-r’ Recurse into subdirectories.
Use sequence instead of default.
Works on special files (including links). Normally detox ignores these files.
-v’ Be verbose about which files are being renamed.
-V’ Show the current version of detox.