1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
|
.TH UPDATEDB 1L \" -*- nroff -*-
.SH NAME
updatedb \- update the slocate database
.SH SYNOPSIS
.B updatedb
[\-u] [\-u path] [\-e path1,path2,...] [\-f fstype1,...] [\-l [01] ] [\-q] [\-v,\-\-verbose]
[\-V, \-\-version] [\-h, \-\-help] pattern...
.SH DESCRIPTION
This manual page
documents
.BR slocate ,
a security-enhanced version of locate.
.BR updatedb
is simply a link to slocate that implies the -u option.
.SH OPTIONS
.TP
.I "\-u"
Create slocate database starting at the root directory.
This is the default behavior when called as
.B updatedb.
.TP
.I "\-U \fIpath\fP"
Create slocate database starting at path \fIpath\fP.
.TP
.I "\-e \fIdirs\fP"
Exclude directories in the comma-separated list \fIdirs\fP
from the slocate database.
.TP
.I "\-f \fIfstypes\fP"
Exclude file systems in the comma-separated list \fIdirs\fP
from the slocate database.
.TP
.I "\-l <num>"
Security level.
.I \-l 0
turns security checks off, which will make searches faster.
.I \-l 1
turns security checks on. This is the default.
.TP
.I "\-q"
Quiet mode; error messages are suppressed.
.TP
.I "\-v"
Verbose mode; display files indexed when creating database
.TP
.I "\-\-help"
Print a summary of the options to
.B slocate
and exit.
.TP
.I "\-\-version"
Print the version number of
.B slocate
and exit.
.SH ENVIRONMENT
.TP
.SH "SEE ALSO"
\fBlocate\fP(1L),
|