Skip to content

Instantly share code, notes, and snippets.

@jgcmarins
Forked from sibelius/js2tsx.sh
Created February 19, 2020 12:17
Show Gist options
  • Select an option

  • Save jgcmarins/45ffb12bb0a33a40073c1cf74b4d1983 to your computer and use it in GitHub Desktop.

Select an option

Save jgcmarins/45ffb12bb0a33a40073c1cf74b4d1983 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