From 9f82abadb1de0a0664332839dd0b318426259227 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Fri, 14 May 2021 20:22:54 +0100 Subject: [PATCH] Add `rename` note --- notes/rename-cli.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 notes/rename-cli.md diff --git a/notes/rename-cli.md b/notes/rename-cli.md new file mode 100644 index 0000000..1abcb7b --- /dev/null +++ b/notes/rename-cli.md @@ -0,0 +1,15 @@ +--- +title: Bulk rename files +tags: + - CLI +--- + +``` +rename 's///g' * +``` + +Useful options: + +`-v`: List files renamed +`-n`: Dry-run +`-d`: Act just on the filename