Skip to content

Instantly share code, notes, and snippets.

@andreigec
Last active March 24, 2021 10:05
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andreigec/2b3a059b57aec7196ec7bcad2d99a525 to your computer and use it in GitHub Desktop.
Save andreigec/2b3a059b57aec7196ec7bcad2d99a525 to your computer and use it in GitHub Desktop.
simple powershell script to rename all .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