1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/detox.md
2022-12-04 19:12:49 +10:00

17 lines
524 B
Markdown

# 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 {{path/to/file}}`
- Show how detox would rename all the files in a directory tree:
`detox --dry-run -r {{path/to/directory}}`
- Remove spaces and other undesirable characters from all files in a directory tree:
`detox -r {{path/to/directory}}`