tldr/pages/common/detox.md

18 lines
500 B
Markdown
Raw Normal View History

2018-02-14 02:45:21 +00:00
# detox
2018-03-24 18:30:44 +00:00
> Renames files to make them easier to work with.
> It removes spaces and other such annoyances like duplicate underline characters.
2019-06-08 01:04:00 +01:00
> More information: <https://github.com/dharple/detox>.
2018-02-14 02:45:21 +00:00
- 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:
2018-02-14 02:45:21 +00:00
`detox --dry-run -r {{directory}}`
- Remove spaces and other undesirable characters from all files in a directory tree:
`detox -r {{directory}}`