Tony here's a script I wrote that uses the php rename function. You can run this php script inside each of your directories. What it does is look for any file that ends in .html and will rename it to .php or .shtml dependng on what you choose to do.
<?php
if ($handle = opendir('.')) {
while (false !== ($file = readdir($handle))) {
if ($file != "." && $file != "..") {
if ( preg_match("#(\.html)$#i", $file) ) {
$extract = pathinfo($file);
$ext = ($extract['basename']);
$fn = ($extract['filename']);
# to rename to php uncomment line below
# rename("$file", "$fn.php");
# to rename to .shtml uncomment line below
# rename("$file", "$fn.shtml");
echo "Renamed: $file<br>";
}
}
}
closedir($handle);
}
?>
That should make it allot easier to rename ALL html files in a directory if you choose to go that route.