% cd YourDocRoot % find . -name '*.html' -exec rename .html .shtml '{}' \;