Find all files with the extension .html in the same directory as this script, and replace all occurrences of "old" with "new" in those files.
find $(dirname $0) -name '*.html' | xargs sed -i 's/old/new/g'