Chris Mar's Weblog Blog Different

Tuesday Feb 05, 2008

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
Comments:

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 #

Post a Comment:
Comments are closed for this entry.