All tools/man-db

man-db

man-db

man-db is an implementation of the standard Unix documentation system accessed using the man command.

Detected by man, manpath, mandb, apropos, whatis | Linux, macOS |man-db.gitlab.io

Sync rules

What travels, what stays, what never leaves
man-db in your home directory Every rule on this page, by file
# Per-user man-db configuration; see manpath(5).
MANDATORY_MANPATH /opt/homebrew/share/manmachine-local
MANDATORY_MANPATH /usr/local/share/manmachine-local
MANPATH_MAP /opt/homebrew/bin /opt/homebrew/share/manmachine-local
MANPATH_MAP /home/octocat/.local/bin /home/octocat/.local/share/manmachine-local
MANDB_MAP /opt/homebrew/share/man /var/cache/man/homebrewmachine-local
SECTION 1 n l 8 3 2 3posix 3pm 3perl 5 4 9 6 7

Each machine keeps its own copy of these.

Only what the catalog names. A directory that syncs brings everything inside it except what is listed as excluded here.

Use it with your dotfile manager

Same data, in the shape your tool already reads
Opens Otty and adds this tool to what it syncs

Opens otty://sync/add/man-db. Otty ships with this catalog, so the link only has to name the tool — nothing is downloaded.

Every one of these is generated from the same rules as this page. None of them splits MANDATORY_MANPATH and MANPATH_MAP for you — that part is Otty’s own sync, or a template you write by hand.