Created
May 26, 2021 14:46
-
-
Save jaxxreal/6b2b2f6b55fe2e2b5cea75c0c5a4c52c to your computer and use it in GitHub Desktop.
Rename js to jsx on MacOS
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 ./ -depth -name "index.js" -exec sh -c 'mv "$1" "${1%.js}.jsx"' _ {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment