Skip to content

Instantly share code, notes, and snippets.

@iam-hussain
Forked from afternoon/rename_js_files.sh
Created August 10, 2022 14:57
Show Gist options
  • Save iam-hussain/e4e5690edc12b72f495182adbd20bbb8 to your computer and use it in GitHub Desktop.
Save iam-hussain/e4e5690edc12b72f495182adbd20bbb8 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