X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=plocate.1;h=cc0e8430b4a6889c990e26e3dde60e79a399cc2d;hb=3250b908875f7d8893719f0d3f9c615d381ec93f;hp=ade0234460440ce81bc870550b6fb6eb6aa30466;hpb=b52042bc4952d32cd5930fbb844bea302ae646f8;p=plocate diff --git a/plocate.1 b/plocate.1 index ade0234..cc0e843 100644 --- a/plocate.1 +++ b/plocate.1 @@ -73,9 +73,19 @@ number at the end. .TP \fB\-d\fR, \fB\-\-database\fR \fIDBPATH\fR Find matches in the given database, instead of \fB/var/lib/plocate/plocate.db\fR. -( -.B plocate -does not currently support multiple databases.) +This argument can be given multiple times, to search multiple databases. +It is also possible to give multiple databases in one argument, separated by +.BR : . +(Any character, including : and \\, can be escaped by prepending a \\.) + +.TP +\fB\-e\fR, \fB\-\-existing\fR +Print only entries that refer to files existing at the time +.B locate +is run. Note that unlike +.BR mlocate (1), +symlinks are not followed by default (and indeed, there is no option +to change this). .TP \fB\-i\fR, \fB\-\-ignore\-case\fR @@ -133,6 +143,15 @@ Print out usage information, then exit successfully. .B \-\-version Print out version information, then exit successfully. +.SH ENVIRONMENT + +.TP +\fBLOCATE_PATH\fR +If given, appended after the list of \fB\-\-database\fR paths +(whether an explicit is given or the default is used). +Colon-delimiting and character escaping follows the same rules +as for \fB\-\-database\fR. + .SH AUTHOR Steinar H. Gunderson