Forked from bzerangue/recursively-rename-extension.sh
Created
December 12, 2021 18:41
-
-
Save starfreck/5d5fe6241566fcd564efa2c814435fba to your computer and use it in GitHub Desktop.
Terminal Script: Recursively rename or change file extensions (this example, changing extension from .html to .php)
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
| find . -name "*.html" | while read i; do mv "$i" "${i%.html}.php"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment