User manual

Avira GmbH Avira AntiVir Server/ Professional (UNIX) 37
5.2 Scanning on-demand with AntiVir Command Line Scanner
Syntax
To scan on-demand, using certain parameters:
avscan [option] [directory [...]]
If you have not specified any directory, it scans only the current directory.
If you want to scan certain files in a directory, the syntax is:
avscan [option] [directory][filename]
Options
You can use the following options for the Command Line Scanner, in various
combinations. All non-option strings are considered files or directories to be scanned (by
default, no recursion beyond the first level of the directory structure).
--scan-in-mbox[=<bool>]
Enables or disables recursion into archive
mailbox. By default on.
--scan-incomplete-action=
Alert action in case of incomplete scan. It
can be set to ignore, warn, block or
alert. See “Alert Conditions” on page 19.
--scan-mode=<spec>
Instructs the scanner how a sample should
be scanned.
ScanMode {all|smart|ext}
--send-snmp-traps=yes|no
Enables or disables SNMP traps. Default:
no.
--snmp-verbosity-level=<level>
Sets the verbosity level of SNMP traps;
apart from snmp, it supports syslog levels
notice|information|warning|
error|alert. Default: only snmp-
specific alerts and important status
information are sent.
--snmp-recipient=<localhost| ip
address>
The string holds the localhost or IP
address, needed to configure the
recipient(s) of SNMP traps.
--temp-dir=<dir>
Defines the absolute path of the temporary
directory
--version
Prints version information.
Option Function
--alert-action=<spec>
Sets the action to be taken, when detecting
viruses or unwanted programs.
See the actions’ list at AlertAction
Page 18
--alert-action=quarantine