Created
October 18, 2014 14:42
-
-
Save usingthesystem/d1da5e21c179ba2593b4 to your computer and use it in GitHub Desktop.
convert dir full of js files to coffee in the terminal
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
| find . -type f -name '*.js' | while read f; do echo "grinding $f to ${f/.js/.coffee} "; js2coffee "$f" > "${f/.js/.coffee}"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment