I want to run HTML Tidy on a large number of files located in folders and subfolders. I can use the following command in Terminal to run it on a single file:
tidy -f errors.txt -m -utf8 -i sample.html
But how can I run it specifying a root folder and have it go through each of the html files in there, and then do the same on each subfolder?