Created
May 16, 2018 09:27
-
-
Save Lunrtick/99ee4e76123eb7525662c27395fd44e3 to your computer and use it in GitHub Desktop.
Bash recursively rename files by extenstion, here with js -> mjs
This file contains 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 . -iname "*.js" -exec rename -v 's/\.js$/\.mjs/i' {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment