tldr/pages/common/detox.md

17 lines
449 B
Markdown
Raw Normal View History

2018-02-14 02:45:21 +00:00
# detox
> Renames files to make them easier to work with.
> It removes spaces and other such annoyances like duplicate underline characters.
- Remove spaces and other undesirable characters from a file's name:
`detox {{file}}`
- Show how detox would rename all of 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}}`