Skip to content

Instantly share code, notes, and snippets.

@sagar-gavhane
Created April 9, 2020 16:32
Show Gist options
  • Save sagar-gavhane/8787a0bf8f5ff9790081842580404089 to your computer and use it in GitHub Desktop.
Save sagar-gavhane/8787a0bf8f5ff9790081842580404089 to your computer and use it in GitHub Desktop.
Rename files from .js 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