From cde8bcaa1d87f79ec5971cd94b5a868ec6181c1f Mon Sep 17 00:00:00 2001 From: Moritz <22394314+movd@users.noreply.github.com> Date: Tue, 5 Feb 2019 10:57:43 +0100 Subject: [PATCH] Update rename Add cheat for mass rename with search and replace --- cheat/cheatsheets/rename | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cheat/cheatsheets/rename b/cheat/cheatsheets/rename index 46a017c..909842c 100644 --- a/cheat/cheatsheets/rename +++ b/cheat/cheatsheets/rename @@ -1,2 +1,5 @@ # Lowercase all files and folders in current directory rename 'y/A-Z/a-z/' * + +# Replace 'sometext' with 'replacedby' in all files in current directory +rename 's/sometext/replacedby/' *