tldr/pages/common/detox.md
2021-08-15 19:59:09 +02:00

500 B

detox

Renames files to make them easier to work with. It removes spaces and other such annoyances like duplicate underline characters. More information: https://github.com/dharple/detox.

  • Remove spaces and other undesirable characters from a file's name:

detox {{file}}

  • Show how detox would rename all the files in a directory tree:

detox --dry-run -r {{directory}}

  • Remove spaces and other undesirable characters from all files in a directory tree:

detox -r {{directory}}