Here is a quick-and-ugly one-liner for bash:
host=www.yourdomain.com;for var in `find . -type f -name index.html| cut -c 3-`;do echo \<a\ href=\"http://$host/$var\"\>$host/$var\<\/a\>\<br\> >> /tmp/$host-indexpages.html;done
You would have to run this from the root of each domain, so it's definately not a run-once solution, but it will get the job the done.
|