trotter (owner)

Revisions

gist: 7066 Download_button fork
public
Description:
Rename all but the partials
Public Clone URL: git://gist.github.com/7066.git
Embed All Files: show embed
Rename all but partials #
1
for file in $(find app/views -name *.haml); do ruby -e "new_file = ARGV[0].sub('.haml', '.html.haml'); unless ARGV[0] =~ %r[/_]; %x[git mv #{ARGV[0]} #{new_file}]; end" $file; done