Files – Batch process TIDY on Mac find /Users/you/Desktop/yourfolder -type f -name "*.htm" -exec tidy -f errors.txt -m -utf8 -i {} \;