- From: Julian Voelcker <asp@tvw.net>
- Date: Thu, 03 Jul 2003 17:30:09 +0100
- To: html-tidy@w3.org
On Wed, 2 Jul 2003 15:30:36 +0200, wrote: > I would like to know how to apply tidy to all the files of a > directory, or the entire website. > Is it possible ? Take a look in the archives, I got an answer to this a few months back. Use one batch file (clean.bat) to run/configure Tidy, like follows: c:\tools\tidy\tidy.exe -config c:\tools\tidy\InitialCleanUp.tidy -m %1 and then another (startclean.bat) to loop the request like this... FOR /R c:\serverroot\%1 %%a IN (*.htm*) do c:\tools\tidy\clean.bat "%%a" I would then 'clean' a site by typing 'startclean.bat siteroot' at a command prompt - with siteroot being the name of the root directory. HTH Cheers, Julian Voelcker The Virtual World (UK) Limited Cirencester, United Kingdom
Received on Thursday, 3 July 2003 12:30:54 UTC