Created
March 29, 2020 11:45
-
-
Save billybonks/48191c985e89721f487034c1557b5cb7 to your computer and use it in GitHub Desktop.
mass move stuff
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for f in **/*.ts; do | |
mv -- "$f" "${f%.ts}.js" | |
done | |
for f in **/*.js; do | |
mv -- "$f" "${f%.js}.ts" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment