/usr/share/doc/rt4-doc-html/rt-validator.html is in rt4-doc-html 4.2.12-5.
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  | <ul id="index">
  <li>
    <ul>
      <li><a href="#check_integrity">check_integrity</a></li>
    </ul>
  </li>
  <li><a href="#NAME">NAME</a></li>
  <li><a href="#SYNOPSIS">SYNOPSIS</a></li>
  <li><a href="#DESCRIPTION">DESCRIPTION</a></li>
  <li><a href="#OPTIONS">OPTIONS</a></li>
</ul>
<h2 id="check_integrity"><a href="#___top">check_integrity</a></h2>
<p>Takes two (table name, column(s)) pairs. First pair is reference we check and second is destination that must exist. Array reference can be used for multiple columns.</p>
<p>Returns 0 if a record is missing or 1 otherwise.</p>
<h1 id="NAME"><a href="#___top">NAME</a></h1>
<p>rt-validator - check and correct validity of records in RT's database</p>
<h1 id="SYNOPSIS"><a href="#___top">SYNOPSIS</a></h1>
<pre><code>    rt-validator --check 
    rt-validator --check --verbose
    rt-validator --check --verbose --resolve
    rt-validator --check --verbose --resolve --force</code></pre>
<h1 id="DESCRIPTION"><a href="#___top">DESCRIPTION</a></h1>
<p>This script checks integrity of records in RT's DB. May delete some invalid records or ressurect accidentally deleted.</p>
<h1 id="OPTIONS"><a href="#___top">OPTIONS</a></h1>
<dl>
<dt id="check">check</dt>
<dd>
<pre><code>    mandatory.
    
    it's equal to -c</code></pre>
</dd>
<dt id="verbose">verbose</dt>
<dd>
<pre><code>    print additional info to STDOUT
    it's equal to -v</code></pre>
</dd>
<dt id="resolve">resolve</dt>
<dd>
<pre><code>    enable resolver that can delete or create some records</code></pre>
</dd>
<dt id="force">force</dt>
<dd>
<pre><code>    resolve without asking questions</code></pre>
</dd>
<dt id="links-only">links-only</dt>
<dd>
<pre><code>    only run the Link validation routines, useful if you changed your Organization</code></pre>
</dd>
</dl>
<a href="./">← Back to index</a>
 |