Skip to content

Instantly share code, notes, and snippets.

@sibelius
Last active February 29, 2020 03:30
Show Gist options
  • Save sibelius/3ee1b5980fbb1fd23fdabea7b294609b to your computer and use it in GitHub Desktop.
Save sibelius/3ee1b5980fbb1fd23fdabea7b294609b to your computer and use it in GitHub Desktop.
Rename .js files to .tsx files
find src -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