Skip to content

Instantly share code, notes, and snippets.

@jteneycke
Forked from ebeigarts/gist:970898
Created April 5, 2013 22:44
Show Gist options
  • Save jteneycke/5323285 to your computer and use it in GitHub Desktop.
Save jteneycke/5323285 to your computer and use it in GitHub Desktop.
for f in `find . -regex '.*\.html\.erb'`; do echo "Converting $f" && html2haml $f > "${f%.erb}.haml" && rm $f; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment