Files
cheatsheet-tldr/tldr/detox
2025-04-23 00:19:06 +00:00

23 lines
618 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# detox
> Renames files to make them easier to work with.
> It removes spaces and other such annoyances like duplicate underline characters.
> More information: <https://manned.org/detox>.
- Remove spaces and other undesirable characters from a file's name:
`detox {{path/to/file}}`
- Show how detox would rename all the files in a directory tree:
`detox {{[-n|--dry-run]}} -r {{path/to/directory}}`
- Remove spaces and other undesirable characters from all files in a directory tree:
`detox -r {{path/to/directory}}`