Last active
April 19, 2016 19:50
-
-
Save jozsefs/6b30d23ed275cc8f363e to your computer and use it in GitHub Desktop.
Renames all .js files to end with .babel.js in the directory and subdirectories
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
for i in `find . -iname "*.js"`; do a=$(basename $i .js); echo mv $i $a.babel.js; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment