perl -MG=R -pi.bak -e "s/foo/bar/g" *.html