1
0
mirror of https://github.com/cheat/cheat.git synced 2025-05-20 23:26:04 +02:00

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