OpenBSD Handbook Manuals
Search

locate.mklocatedb(8)

Canonical URL: /locate.mklocatedb.8/

LOCATE.MKLOCATEDB(8) System Manager's Manual LOCATE.MKLOCATEDB(8)

locate.mklocatedbcreate locate database

locate.mklocatedb [-presort]

locate.mklocatedb reads a list of filenames (one per line) from standard input and creates a database usable by locate(1) on standard output. It is typically run by locate.updatedb(8), but it can be used independently to generate a database from any list of paths.

The options are as follows:

Assume the input list is already sorted.

locate(1), locate.updatedb(8)

July 30, 2021 Linux 7.1.13-200.fc44.x86_64

Need conceptual guidance? Continue in the OpenBSD Handbook.