locate.updatedb
—
update locate database
/usr/libexec/locate.updatedb |
[-c file] |
The locate.updatedb
program rebuilds the database used
by the locate(1) program. It is
usually run once per week, see
weekly.conf(5).
The file systems and files (not) scanned can be configured in
locate.conf(5).
The locate.updatedb
program supports this option:
-c
file
- Use file (in
locate.conf(5) format)
as the configuration file instead of the default
/etc/locate.conf.
- /var/db/locate.database
- Default database
find(1),
locate(1),
fnmatch(3),
locate.conf(5),
weekly.conf(5)
Woods, James A.,
Finding Files Fast, ;login,
8:1, pp. 8-10,
1983.
The locate.updatedb
command appeared in
4.4BSD.