Copyright © 1996 by the Regents of the University of California.
autoindex: generate HTML index of directory
The autoindex program scans a directory for HTML files/directories
(files must end with .html, directories must have an index.html file in them)
and builds an HTML index file, called index.html.
The titles of the HTML files are used as the index entries.
If there is already an index file in the directory, it is updated.
Command Line Usage
autoindex [ -d directory ] [ -i ignore ] [ -t title ]
- -d directory
- Specify a directory other than the current directory.
- -i ignore
- Give the name of a file to ignore; index.html is always ignored.
- -t title
- Specify an HTML title.
Example
Generate an index in /usr/local/otf/doc/bin:
autoindex -d /usr/local/otf/doc/bin -t "OTF Applications"
Greg Couch, UCSF Computer Graphics Laboratory