mirror of https://github.com/cheat/cheat.git
Update rename
Add cheat for mass rename with search and replace
This commit is contained in:
parent
d6c7863573
commit
cde8bcaa1d
|
@ -1,2 +1,5 @@
|
||||||
# Lowercase all files and folders in current directory
|
# Lowercase all files and folders in current directory
|
||||||
rename 'y/A-Z/a-z/' *
|
rename 'y/A-Z/a-z/' *
|
||||||
|
|
||||||
|
# Replace 'sometext' with 'replacedby' in all files in current directory
|
||||||
|
rename 's/sometext/replacedby/' *
|
||||||
|
|
Loading…
Reference in New Issue