Find all files with the extension .html, and for each of them, execute the command to replace the word "error" with "Success".
find . -type f -name "*.html" -exec sed -i '' -e 's/error/Success/g' {} \;