How to create a bash script to loop through some files and perform few actions that involves name alterations:
find all index.html files in all subdirectories except components/* and process each file like:
mv dir1/index.html dir1/index_dev.html
vulcanize -o dir1/index.html dir1/index_dev.html
mv dir2/index.html dir2/index_dev.html
vulcanize -o dir2/index.html dir2/index_dev.html
...
Thanks
mvindex.html will not exist.