Switch to unified view

a/src/doc/man/recollindex.1 b/src/doc/man/recollindex.1
...
...
65
.B \-r
65
.B \-r
66
[
66
[
67
.B \-Z
67
.B \-Z
68
]
68
]
69
[
69
[
70
.B \-K
71
]
72
[
73
.B \-e
74
]
75
[
70
.B \-f
76
.B \-f
77
]
78
[
79
.B \-p 
80
pattern
71
]
81
]
72
<dirpath>
82
<dirpath>
73
.br
83
.br
74
.B recollindex 
84
.B recollindex 
75
[
85
[
...
...
206
.PP
216
.PP
207
.B recollindex \-e
217
.B recollindex \-e
208
will erase data for individual files from the database. The stem expansion
218
will erase data for individual files from the database. The stem expansion
209
databases will not be updated.
219
databases will not be updated.
210
.PP
220
.PP
221
Options
222
.B
223
\-i
224
and
225
.B
226
\-e
227
can be combined. This will first perform the purge, then the indexing.
228
.PP
211
With options 
229
With options 
212
.B \-i 
230
.B \-i 
213
or 
231
or 
214
.B \-e 
232
.B \-e 
215
, if no file names are given on the command line, they
233
, if no file names are given on the command line, they
216
will be read from stdin, so that you could for example run:
234
will be read from stdin, so that you could for example run:
217
.PP
235
.PP
218
find /path/to/dir \-print | recollindex \-e 
236
find /path/to/dir \-print | recollindex \-e \-i
219
.PP
220
followed by 
221
.PP
222
find /path/to/dir \-print | recollindex \-i
223
.PP
237
.PP
224
to force the reindexing of a directory tree (which has to exist inside the
238
to force the reindexing of a directory tree (which has to exist inside the
225
file system area defined by
239
file system area defined by
226
.I topdirs 
240
.I topdirs 
227
in recoll.conf). You could mostly accomplish the same thing with
241
in recoll.conf). You could mostly accomplish the same thing with
228
.PP
242
.PP
229
.B find /path/to/dir \-print | recollindex \-f \-Z 
243
find /path/to/dir \-print | recollindex \-Z \-i
244
.PP
245
The latter will perform a less thorough job of purging stale sub-documents
246
though.
230
.PP
247
.PP
231
.B recollindex \-r
248
.B recollindex \-r
249
mostly works like 
250
.B \-i
232
mostly works like \-i, but the parameter is a single directory, which will
251
, but the parameter is a single directory, which will
233
be recursively updated. This mostly does nothing more than 
252
be recursively updated. This mostly does nothing more than 
234
.B find topdir | recollindex \-i
253
.B find topdir | recollindex \-i
235
but it may be more convenient to use when started from another program.
254
but it may be more convenient to use when started from another
255
program. This retries failed files by default, use option
256
.B \-K
257
to change. One or multiple 
258
.B \-p
259
options can be used to set shell-type selection patterns (e.g.: *.pdf).
236
.PP
260
.PP
237
.B recollindex \-l 
261
.B recollindex \-l 
238
will list the names of available language stemmers.
262
will list the names of available language stemmers.
239
.PP
263
.PP
240
.B recollindex \-s 
264
.B recollindex \-s