Created
March 21, 2023 09:37
-
-
Save iampato/a1f29ddb4420a8e5570483a13681d10c to your computer and use it in GitHub Desktop.
Rename all .js files to .tsx in a next application
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 ./src/pages ./src/modules -type f -name "*.js" -exec sh -c 'mv "$0" "${0%.js}.tsx"' {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment