Skip to content

Instantly share code, notes, and snippets.

@ambethia
Created December 11, 2009 18:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ambethia/254408 to your computer and use it in GitHub Desktop.
Save ambethia/254408 to your computer and use it in GitHub Desktop.
Rename *.html.erb to *.erb
for x in `find . -type f -name \*.html.erb`; do
mv $x `echo $x | sed 's/\(.*\.\)html\.erb/\1erb/'`;
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment