Find all html files and change permission to 644

Code:
find /usr/local -name "*.html" -type f | xargs chmod 644
Find all files with ".bak" files and delete

Code:
find /usr/local -name "*.bak" -type f | xargs rm -rf