Last active
December 27, 2022 10:14
-
-
Save kitzberger/21a2719b9ab1be258f2e62dd361823d8 to your computer and use it in GitHub Desktop.
Rename multiple files via mmv
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Simple change of file extension | |
| mmv "*.ctp" "#1.php" | |
| # Recursively renaming all `.ts` files to `.typoscript` | |
| # ; matching subdirectories | |
| # * matching the filename | |
| mmv ";*.ts" "#1#2.typoscript" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment