Skip to content

Instantly share code, notes, and snippets.

@jro
Created January 22, 2009 17:29
Show Gist options
  • Save jro/50624 to your computer and use it in GitHub Desktop.
Save jro/50624 to your computer and use it in GitHub Desktop.
for i in `find . | grep rhtml | grep -v svn`; do
svn mv $i .$(echo $i | awk -F'.' '{ print $(NF-1) }').html.erb
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment