Skip to content

html-dir-index

HTML-based directory index.

The generate.sh script can be used like this:

Bash
find test -type d -print -exec bash -ec 'bash '"${PWD@Q}"'/generate.sh '"${PWD@Q}"'/template.html "$1" "/$1" > "$1/index.html"' _ {} \;