Skip to content

Instantly share code, notes, and snippets.

@makokal
Created February 13, 2012 18:32
Show Gist options
  • Save makokal/1818870 to your computer and use it in GitHub Desktop.
Save makokal/1818870 to your computer and use it in GitHub Desktop.
Rename all .rhtml file in a folder to .html.erb or any other format
for i in ./*rhtml*;do mv -- "$i" "${i//rhtml/html.erb}";done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment