How about this:
Code:
sed -e 's/wow/foo/g' -i .backup *.html
It will go through all .html files in the current directory, create a backup file with a .backup extension, then modify each file in place by substituting each instance of "wow" with "foo". Note you probably want to make the regex as precise as possible to avoid accidental unintentional changes (e.g. "s/man/boy" would turn "woman" into "woboy"). You can use
Code:
sed -f /path/to/file -i .backup *.html
to use the given file as your sed script.
(Disclaimer: these options are for BSD sed, but I believe they're the same for GNU sed.)