html-dir-index HTML-based directory index. The generate.sh script can be used like this: Bash1find test -type d -exec bash -ec 'bash '"$PWD"'/generate.sh '"$PWD"'/template.html "$1" "/$1" > "$1/index.html"' _ {} \;