Recently, I was upgrading some Rails projects to Rails 2.0. For some reason they changed the name of view files from ".rhtml" to ".html.erb". While your old file names will work, I like to keep things nice and neat. Here is a tool that will help you do the mass renaming, and its free! I wish I had this utility years ago.

Many Tricks Website

Many Tricks Website


for i in `find . -name "*.rhtml"`
do
...
Not that rename set extension isn't easier
Couldn't you just written that in java :)
Posted by Shawn Ferry on February 07, 2008 at 09:25 AM EST #