Skip to content

Instantly share code, notes, and snippets.

@afternoon
Created February 15, 2014 18:04
Show Gist options
  • Save afternoon/9022899 to your computer and use it in GitHub Desktop.
Save afternoon/9022899 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"' {} \;
@mkajs
Copy link

mkajs commented Jun 30, 2023

nice

@AlonBruQuali
Copy link

Worked a charm, thanks

@iverenshaguy
Copy link

Thanks!

@giacomorebonato
Copy link

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment