mirror of
https://github.com/cheat/cheat.git
synced 2025-11-04 15:55:27 +01: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