tldr/pages/common/detox.md

18 lines
524 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:
2022-12-04 09:12:49 +00:00
`detox {{path/to/file}}`
2018-02-14 02:45:21 +00:00
- Show how detox would rename all the files in a directory tree:
2018-02-14 02:45:21 +00:00
2022-12-04 09:12:49 +00:00
`detox --dry-run -r {{path/to/directory}}`
2018-02-14 02:45:21 +00:00
- Remove spaces and other undesirable characters from all files in a directory tree:
2022-12-04 09:12:49 +00:00
`detox -r {{path/to/directory}}`