Created
December 6, 2019 13:24
-
-
Save flosse/3e9b7a53dfb51cc895d3dc8ddf23c931 to your computer and use it in GitHub Desktop.
This file contains 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
#!/bin/bash | |
for f in `find src/ -type f \( -iname \*.js -o -iname \*.jsx \)` | |
do | |
git mv `echo $f` `echo $f | sed -e "s/\.jsx\?/\.rs/g"` | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment