Skip to content

Instantly share code, notes, and snippets.

@lukeggchapman
Created January 28, 2020 10:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lukeggchapman/604932a2076af75c2fcdd5930bab81a5 to your computer and use it in GitHub Desktop.
Save lukeggchapman/604932a2076af75c2fcdd5930bab81a5 to your computer and use it in GitHub Desktop.
Rename all js files in a folder 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