# Generated HTML index

A simple script today to generate an HTML index listing all of the files in a given directory. This has come in handy in the past when Apache has had Options -Indexes set (disabling their automatically generated indexes) and I didn’t have the permissions to override it.

If you want to follow along, you can get the full source code here.

Easy enough to use, first here’s the usage (which you can also get with html-index help):

Usage: html-index [short|long|force|all]
force - overwrite old index.htm without asking
help - display this message and exit