locate.updatedb(8)

locate.updatedb8

Update locate database

Usage

/usr/libexec/locate.updatedb

Overview

The locate.updatedb utility updates the database used by locate(1). It is typically run once a week by the /System/Library/LaunchDaemons/com.apple.locate.plist job.

The contents of the newly built database can be controlled by the /etc/locate.rc file.

Environment

LOCATE_CONFIG

path to the configuration file

Files

/var/db/locate.database

the default database

/etc/locate.rc

the configuration file

Releases

163 releases since Mac OS X 10.0; the text changed 4 times.

  1. 10.0–10.2.8
  2. 10.3–10.4.10
  3. 10.4.11–10.5.8
  4. 10.6–11.5
  5. 12.0.1–26.5

From shell_cmds 329 in macOS 26.5. Parsed by carta from the page's mdoc source.