inline-detox
replace problematic characters in filenames
Install
- All systems
-
curl cmd.cat/inline-detox.sh
- Debian
-
apt-get install detox
- Ubuntu
-
apt-get install detox
- Arch Linux
-
pacman -S detox
- Kali Linux
-
apt-get install detox
- Fedora
-
dnf install detox
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install detox
- OS X
-
brew install detox
- Raspbian
-
apt-get install detox
- Dockerfile
- dockerfile.run/inline-detox
detox
replace problematic characters in filenames
detox is a utility designed to clean up filenames. It replaces difficult to work with characters, such as spaces, with standard equivalents. It will also clean up filenames with UTF-8 or Latin-1 (or CP-1252) characters in them. Features: * Removal or replacement of upper ASCII Latin-1 (ISO 8859-1) characters; * Removal or replacement of UTF-8 encoded Unicode characters; * Removal or replacement of spaces and other potentially tricky characters; * Trimming of excessive "_" and "-"s; * Directory recursion, dry runs, verbose listings. It is designed with safety in mind. It won't overwrite a file that already exists, and it doesn't touch special files if not requested. detox is useful to mass rename files automatically. As just one example, you can use detox to easily standardize lots of files, as MP3 or movies, downloaded or stored inside a directory. This package provides detox and inline-detox commands. The inline-detox is used to remove spaces and other such annoyances from streams. Basically it is detox, but does not operate on files.