mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-21 01:02:08 +00:00
Update cheatsheets
This commit is contained in:
22
detox
Normal file
22
detox
Normal file
@@ -0,0 +1,22 @@
|
||||
---
|
||||
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://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}}`
|
||||
Reference in New Issue
Block a user