41
<code><path(s)...></code> specifies the full paths to the
42
file(s) and/or directory(ies) to scan at startup.
41
The <code><path(s)...></code> specifies the full paths to the
42
<b>file(s)</b> and/or <b>directory(ies)</b> to <b>scan</b> at startup.
46
The <code>--scan</code> argument specifies to run in <b>scanner
47
mode</b>. This mode is used by this program when calling itself
48
to perform a <b>scan process</b> and is therefore not intended to be
49
specified by the user.
48
<code>[options]</code>can be any of the following:
56
The <code>[options]</code>can be any of the following:
51
59
<table border="0" cellspacing="0" cellpadding="5">
54
62
<th>Description</th>
56
64
<td><code>--recursive</code></td>
57
<td>Recurse into subdirectories</td>
65
<td><b>Recurse</b> into <b>subdirectories</b>.</td>
59
67
<td><code>-r</code></td>
60
<td>Same as <code>--recursive</code></td>
68
<td>Same as <code>--recursive</code>.</td>
62
70
<td><code>--executables-only</code></td>
63
<td>Scan executable files only</td>
71
<td>Scan <b>executable</b> <b>files</b> only.</td>
65
73
<td><code>-x</code></td>
66
<td>Same as <code>--executables-only</code></td>
74
<td>Same as <code>--executables-only</code>.</td>
68
76
<td><code>--ignore-links</code></td>
69
<td>Do not scan links</td>
77
<td>Do not scan <b>links</b>.</td>
71
79
<td><code>-l</code></td>
72
<td>Same as <code>--ignore-links</code></td>
80
<td>Same as <code>--ignore-links</code>.</td>
74
82
<td><code>--database <path></code></td>
75
<td>Set the <i>virus database</i> to <code><path></code>
76
(this may be a file or directory)</td>
83
<td>Set the <b>virus database</b> to <code><path></code>
84
(<code><path></code> may be either a <i>file</i> or a
85
<i>directory</i>).</td>
78
87
<td><code>-db <path></code></td>
79
<td>Same as <code>--database</code></td>
81
<td><code>--scan</code></td>
82
<td>Specifies to perform a scan in text-mode. This is typically used
83
internally by this program to call itself in order to perform a scan
84
process when it is running in GUI mode.</td>
88
<td>Same as <code>--database</code>.</td>
90
<td><code>--cpu-priority <priority></code></td>
91
<td>Sets the <b>CPU priority</b>, valid values are;
92
<code>highest</code>, <code>high</code>, <code>medium</code>,
93
<code>low</code>, <code>lowest</code>.</td>
95
<td><code>--report-all-objects</code></td>
96
<td>Specifies to report <i>all</i> <b>objects</b> that have been <i>scanned</i> to the <b>Results List</b>.</td>
98
<td><code>--no-report-all-objects</code></td>
99
<td>Specifies to <i>only</i> report <i>objects</i> that have <b>problems</b> or <b>viruses</b> (opposite of <code>--report-all-objects</code>).</td>
101
<td><code>--max-files <n></code></td>
102
<td>Sets the maximum <b>number</b> of <i>files</i> in an <b>archive</b> to scan.</td>
104
<td><code>--max-file-size <n></code></td>
105
<td>Sets the maximum <b>size</b> of a <i>file</i> in an <i>archive</i> to scan.</td>
107
<td><code>--max-recursions <n></code></td>
108
<td>Sets the maximum <i>archive</i> <b>recursions</b>.</td>
110
<td><code>--max-mail-recursions <n></code></td>
111
<td>Sets the maximum <b>mail</b> <i>recursions</i>.</td>
113
<td><code>--max-compression-ratio <n></code></td>
114
<td>Set the maximum <i>archive</i> <b>compression ratio</b> to scan.</td>
86
116
<td><code>--help</code></td>
87
<td>Prints the help screen and exits</td>
117
<td>Prints the <b>help screen</b> and <b>exits</b>.</td>
89
119
<td><code>--version</code></td>
90
<td>Prints the version and exits</td>
120
<td>Prints the <b>version</b> and <i>exits</i>.</td>
224
254
<th>Description</th>
226
256
<td><code>0</code></td>
229
259
<td><code>1</code></td>
230
<td>Virus detected or general error</td>
260
<td><b>Virus</b> detected or <b>general error</b>.</td>
232
262
<td><code>2</code></td>
263
<td><b>Invalid value</b>.</td>
235
265
<td><code>3</code></td>
236
<td>Systems error or memory allocation error</td>
266
<td><b>Systems error</b> or <b>memory allocation error</b>.</td>
238
268
<td><code>4</code></td>
239
<td>User aborted</td>
269
<td><b>User aborted</b> (otherwise no other <i>error</i>).</td>
241
271
<td><code>5</code></td>
242
<td>An identical operation is already in progress</td>
272
<td>User responded with "no" to a query (otherwise no other <i>error</i>).</td>
274
<td><code>6</code></td>
275
<td>An <b>identical operation</b> is already in progress.</td>
277
<td><code>7</code></td>
244
280
<td><code>8</code></td>
245
<td>Segmentation fault</td>
281
<td><b>Segmentation fault</b>.</td>
284
<td><code>50</code></td>
285
<td>Unable to <i>load</i> or <i>initialize</i> the <i>virus database</i>.</td>
287
<td><code>51</code></td>
288
<td>An input <i>file</i> has a <b>corrupt format</b> or a <i>format</i> not
289
consistent with its <b>extension</b>.</td>
291
<td><code>52</code></td>
292
<td>Unsupported <i>object</i> type.</td>
294
<td><code>53</code></td>
295
<td>Unable to <b>open</b> an input <i>directory</i>.</td>
297
<td><code>54</code></td>
298
<td>Unable to <i>open</i> an input <i>file</i>.</td>
300
<td><code>55</code></td>
301
<td>An <i>error</i> occured while <b>reading</b> an input <i>file</i>.</td>
303
<td><code>56</code></td>
304
<td>Unable to <code>stat()</code> or <code>lstat()</code> an input <i>file</i>.</td>
306
<td><code>57</code></td>
307
<td>Scan of <i>object</i> was <b>incomplete</b> because it would otherwise exceed a specified <b>limit</b>.</td>
309
<td><code>58</code></td>
312
<td><code>59</code></td>
313
<td><b>Scanner subsystem</b> or <b>plugin</b> is unable to scan an input <i>file</i>.</td>
315
<td><code>99</code></td>
316
<td>No <i>virus scanner</i> support compiled.</td>
251
Back to the <a href="#top">top</a>
322
Back to the <a href="#top">top</a>.