Created
May 21, 2019 05:09
-
-
Save NorikDavtian/c419a5ec8882d7c5e25633775331137f to your computer and use it in GitHub Desktop.
Change the file extensions in project directory from `.js` to `.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
for file in **/*.js; do mv "$file" "${file%.js}.mjs"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment