-
-
Save michiel/5767039 to your computer and use it in GitHub Desktop.
bash rename js files to coffee
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
#!/bin/bash | |
for files in *.js | |
do | |
mv "$files" "${files%.js}.coffee" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment