mirror of
https://github.com/cheat/cheat.git
synced 2025-09-03 02:28:29 +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
|
||||
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