mirror of
https://github.com/cheat/cheat.git
synced 2024-11-22 05:51:35 +01:00
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
|
||||
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
Block a user