Skip to content

Instantly share code, notes, and snippets.

@max-lt
Created June 24, 2018 18:45
Show Gist options
  • Save max-lt/8ca310745192e93491ee3831a0355ac1 to your computer and use it in GitHub Desktop.
Save max-lt/8ca310745192e93491ee3831a0355ac1 to your computer and use it in GitHub Desktop.
# change all .js files to .ts
find . -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