From 0b7aa9e525bc2c0863bb0145a6c695e6ed5a9ab4 Mon Sep 17 00:00:00 2001 From: Jesse Smith Date: Tue, 13 Feb 2018 22:45:21 -0400 Subject: [PATCH] detox: add page --- pages/common/detox.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 pages/common/detox.md diff --git a/pages/common/detox.md b/pages/common/detox.md new file mode 100644 index 0000000000..7add645519 --- /dev/null +++ b/pages/common/detox.md @@ -0,0 +1,16 @@ +# 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}}`