/usr/share/doc/idzebra-2.0-doc/idzebra-2.0/zebraidx.html is in idzebra-2.0-doc 2.0.44-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 | <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>zebraidx</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Zebra - User's Guide and Reference"><link rel="up" href="reference.html" title="Reference"><link rel="prev" href="reference.html" title="Reference"><link rel="next" href="zebrasrv.html" title="zebrasrv"></head><body><link rel="stylesheet" type="text/css" href="common/style1.css"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">zebraidx</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="reference.html">Prev</a> </td><th width="60%" align="center">Reference</th><td width="20%" align="right"> <a accesskey="n" href="zebrasrv.html">Next</a></td></tr></table><hr></div><div class="refentry" title="zebraidx"><a name="zebraidx"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>zebraidx — <span class="application">Zebra</span> Administrative Tool</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">zebraidx</code> [<code class="option">-t <em class="replaceable"><code>type</code></em></code>] [<code class="option">-c <em class="replaceable"><code>config</code></em></code>] [<code class="option">-g <em class="replaceable"><code>group</code></em></code>] [<code class="option">-d <em class="replaceable"><code>database</code></em></code>] [<code class="option">-m <em class="replaceable"><code>mbytes</code></em></code>] [<code class="option">-n</code>] [<code class="option">-s</code>] [<code class="option">-v <em class="replaceable"><code>level</code></em></code>] [<code class="option">-l <em class="replaceable"><code>file</code></em></code>] [<code class="option">-L</code>] [<code class="option">-f <em class="replaceable"><code>number</code></em></code>] [<code class="option">-v</code>] {<em class="replaceable"><code>command</code></em>} [<em class="replaceable"><code>file</code></em>...]</p></div></div><div class="refsect1" title="DESCRIPTION"><a name="idp11505504"></a><h2>DESCRIPTION</h2><p>
<span class="command"><strong>zebraidx</strong></span> allows you to insert, delete or updates
records in <span class="application">Zebra</span>. <span class="command"><strong>zebraidx</strong></span> accepts a set options
(see below) and exactly one command (mandatory).
</p></div><div class="refsect1" title="COMMANDS"><a name="idp11508832"></a><h2>COMMANDS</h2><div class="variablelist"><dl><dt><span class="term">update <em class="replaceable"><code>directory</code></em></span></dt><dd><p>
Update the register with the files contained in
<em class="replaceable"><code>directory</code></em>.
If no directory is provided, a list of files is read from
<code class="literal">stdin</code>.
See <a class="link" href="administration.html" title="Chapter 6. Administrating Zebra">Administration</a> in the <span class="application">Zebra</span>
Manual.
</p></dd><dt><span class="term">delete <em class="replaceable"><code>directory</code></em></span></dt><dd><p>
Remove the records corresponding to the files found under
<em class="replaceable"><code>directory</code></em> from the register.
</p></dd><dt><span class="term">adelete <em class="replaceable"><code>directory</code></em></span></dt><dd><p>
Remove the records corresponding to the files found under
<em class="replaceable"><code>directory</code></em> from the register.
Unlike command <code class="literal">delete</code> this command does not
fail if a record does not exist (but which is attempted deleted).
</p></dd><dt><span class="term">commit</span></dt><dd><p>
Write the changes resulting from the last <code class="literal">update</code>
commands to the register. This command is only available if the use of
shadow register files is enabled
(see <a class="link" href="shadow-registers.html" title="8. Safe Updating - Using Shadow Registers">Shadow Registers</a> in the
<span class="application">Zebra</span> Manual).
</p></dd><dt><span class="term">clean</span></dt><dd><p>
Clean shadow files and "forget" changes.
</p></dd><dt><span class="term">create <em class="replaceable"><code>database</code></em></span></dt><dd><p>
Create database.
</p></dd><dt><span class="term">drop <em class="replaceable"><code>database</code></em></span></dt><dd><p>
Drop database (delete database).
</p></dd><dt><span class="term">init</span></dt><dd><p>
Deletes an entire register (all files in shadow+register areas).
</p></dd></dl></div></div><div class="refsect1" title="OPTIONS"><a name="idp11530592"></a><h2>OPTIONS</h2><div class="variablelist"><dl><dt><span class="term">-t <em class="replaceable"><code>type</code></em></span></dt><dd><p>
Update all files as <em class="replaceable"><code>type</code></em>. Currently, the
types supported are <code class="literal">text</code>, <code class="literal">alvis</code>
and <code class="literal">grs</code><em class="replaceable"><code>.subtype</code></em>.
Generally, it is probably advisable to specify the record types
in the <code class="literal">zebra.cfg</code> file (see
<a class="link" href="administration.html#record-types" title="1. Record Types">Record Types</a> in the <span class="application">Zebra</span> manual),
to avoid confusion at subsequent updates.
</p></dd><dt><span class="term">-c <em class="replaceable"><code>config-file</code></em></span></dt><dd><p>
Read the configuration file
<em class="replaceable"><code>config-file</code></em> instead of
<code class="literal">zebra.cfg</code>.
</p></dd><dt><span class="term">-g <em class="replaceable"><code>group</code></em></span></dt><dd><p>
Update the files according to the group
settings for <em class="replaceable"><code>group</code></em>
(see <a class="link" href="zebra-cfg.html" title="2. The Zebra Configuration File"><span class="application">Zebra</span> Configuration File</a> in
the <span class="application">Zebra</span> manual).
</p></dd><dt><span class="term">-d <em class="replaceable"><code>database</code></em></span></dt><dd><p>
The records located should be associated with the database name
<em class="replaceable"><code>database</code></em> for access through the <acronym class="acronym">Z39.50</acronym> server.
</p></dd><dt><span class="term">-l <em class="replaceable"><code>file</code></em></span></dt><dd><p>
Write log messages to <em class="replaceable"><code>file</code></em> instead
of <code class="literal">stderr</code>.
</p></dd><dt><span class="term">-m <em class="replaceable"><code>mbytes</code></em></span></dt><dd><p>
Use <em class="replaceable"><code>mbytes</code></em> of memory before flushing
keys to background storage. This setting affects performance when
updating large databases.
</p></dd><dt><span class="term">-L</span></dt><dd><p>
Makes zebraidx skip symbolic links. By default, zebraidx follows
them.
</p></dd><dt><span class="term">-n</span></dt><dd><p>
Disable the use of shadow registers for this operation
(see <a class="link" href="shadow-registers.html" title="8. Safe Updating - Using Shadow Registers">Shadow Registers in
the <span class="application">Zebra</span> manual</a>).
</p></dd><dt><span class="term">-s</span></dt><dd><p>
Show analysis of the indexing process. The maintenance
program works in a read-only mode and doesn't change the state
of the index. This options is very useful when you wish to test a
new profile.
</p></dd><dt><span class="term">-V</span></dt><dd><p>
Show <span class="application">Zebra</span> version.
</p></dd><dt><span class="term">-v <em class="replaceable"><code>level</code></em></span></dt><dd><p>
Set the log level to <em class="replaceable"><code>level</code></em>.
<em class="replaceable"><code>level</code></em> should be one of
<code class="literal">none</code>, <code class="literal">debug</code>, and
<code class="literal">all</code>.
</p></dd></dl></div></div><div class="refsect1" title="FILES"><a name="idp11568576"></a><h2>FILES</h2><p>
<code class="filename">zebra.cfg</code>
</p></div><div class="refsect1" title="SEE ALSO"><a name="idp11570320"></a><h2>SEE ALSO</h2><p>
<span class="citerefentry"><span class="refentrytitle">zebrasrv</span>(8)</span>
</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="reference.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="reference.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="zebrasrv.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Reference </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> zebrasrv</td></tr></table></div></body></html>
|