Skip to content

Instantly share code, notes, and snippets.

@jaxxreal
Created May 26, 2021 14:46
Show Gist options
  • Save jaxxreal/6b2b2f6b55fe2e2b5cea75c0c5a4c52c to your computer and use it in GitHub Desktop.
Save jaxxreal/6b2b2f6b55fe2e2b5cea75c0c5a4c52c to your computer and use it in GitHub Desktop.
Rename js to jsx on MacOS
find ./ -depth -name "index.js" -exec sh -c 'mv "$1" "${1%.js}.jsx"' _ {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment