Skip to content

Instantly share code, notes, and snippets.

@theophoric
Created February 22, 2011 02:25
Show Gist options
  • Save theophoric/838106 to your computer and use it in GitHub Desktop.
Save theophoric/838106 to your computer and use it in GitHub Desktop.
find . -name '*erb' | \
xargs ruby -e 'ARGV.each { |i| puts "html2haml -r #{i} #{i.sub(/erb$/,"haml")}"}' | \
bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment