[wplug] tidy bash script

Jonathan S Billings billings at negate.org
Thu Jul 22 12:32:39 EDT 2004


ARiley at edgarsnyder.com wrote:
> Does anyone know how
> to descend into directories and climb back out?
> 
> #!/bin/bash
> conf="-config /etc/tidy.conf"
> 
> for file in *.html;
>   do tidy $conf $file
> done

#!/bin/bash
conf="-config /etc/tidy.conf"

for file in `find . -type f -name \*.html`;
   do tidy $conf $file
done


-- 
Jonathan S. Billings <billings at negate.org>



More information about the wplug mailing list