Skip to content

Instantly share code, notes, and snippets.

@max-winderbaum
Created June 29, 2017 18:32
Show Gist options
  • Save max-winderbaum/59e58894ba11f20c0b30529f1af132ca to your computer and use it in GitHub Desktop.
Save max-winderbaum/59e58894ba11f20c0b30529f1af132ca to your computer and use it in GitHub Desktop.
Rename all js files to ts typescript recursively
rename "s/\.js/\.ts/" **/*.js && git add **/*.ts && git rm **/*.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment