Skip to content

Instantly share code, notes, and snippets.

@dkocich
Forked from afternoon/rename_js_files.sh
Created May 12, 2019 19:25
Show Gist options
  • Save dkocich/2ee9b7dcbcae4415647de4a9397f2b66 to your computer and use it in GitHub Desktop.
Save dkocich/2ee9b7dcbcae4415647de4a9397f2b66 to your computer and use it in GitHub Desktop.
Rename .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