Generate html based on directory structure

does any one knows a linux based program/script that can generate html files based on directory structure?


Some versions of tree, which is a common utility, can produce HTML output.

tree -H baseHREF