Skip to content

Instantly share code, notes, and snippets.

@scott-stewart
Created June 17, 2011 03:46
Show Gist options
  • Save scott-stewart/1030835 to your computer and use it in GitHub Desktop.
Save scott-stewart/1030835 to your computer and use it in GitHub Desktop.
rename files in directory sample
for i in *.html.erb; do mv "$i" "${i/.erb/}".haml; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment