Skip to content

Instantly share code, notes, and snippets.

@rjmacarthy
Forked from afternoon/rename_js_files.sh
Created September 4, 2019 10:56
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save rjmacarthy/bdcb91d24cc26c091bbdc59d6cc8ad75 to your computer and use it in GitHub Desktop.
Save rjmacarthy/bdcb91d24cc26c091bbdc59d6cc8ad75 to your computer and use it in GitHub Desktop.
Rename .js files to .ts
find app/src -name "*.js" -exec sh -c 'mv "$0" "${0%.js}.ts"' {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment