Skip to content

Instantly share code, notes, and snippets.

@bzerangue
Created December 11, 2012 00:23
Show Gist options
  • Save bzerangue/4254625 to your computer and use it in GitHub Desktop.
Save bzerangue/4254625 to your computer and use it in GitHub Desktop.
RECURSIVELY Bash convert Javascript to Coffeescript; and also Coffeescript to Javascript
find . -name "*.js" | while read i; do js2coffee "$i" > "${i%.*}.coffee"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment