Update rename

Add cheat for mass rename with search and replace
This commit is contained in:
Moritz 2019-02-05 10:57:43 +01:00 committed by GitHub
parent d6c7863573
commit cde8bcaa1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -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/' *