I want to rename all erb files in my Git project to haml.(like index.html.erb to index.html.haml)
If I rename each file, I have to type the following command more than thirty times.
$ git mv app/views/pages/index.html.erb app/views/pages/index.html.haml
I tried the command below, but it did not work.
$ git mv app/views/**/*.erb app/views/**/*.haml
usage: git mv [options] <source>... <destination>
-n, --dry-run dry run
-f, --force force move/rename even if target exists
-k skip move/rename errors
How can I rename them at once?