Skip to content

Instantly share code, notes, and snippets.

@mxvsh
Created September 25, 2022 14:30
Show Gist options
  • Save mxvsh/110b7525a48f1d591972d844336d31ae to your computer and use it in GitHub Desktop.
Save mxvsh/110b7525a48f1d591972d844336d31ae to your computer and use it in GitHub Desktop.
Renaming JS to TS
find 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