mirror of
https://github.com/cheat/cheat.git
synced 2026-07-10 00:57:40 +02:00
cde8bcaa1d
Add cheat for mass rename with search and replace
6 lines
185 B
Plaintext
6 lines
185 B
Plaintext
# 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/' *
|