mirror of
https://github.com/cheat/cheat.git
synced 2025-07-11 08:11:56 +02:00
Update rename
Add cheat for mass rename with search and replace
This commit is contained in:
@ -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/' *
|
||||||
|
Reference in New Issue
Block a user