Avira antivir server unix Manual De Usuario
Avira GmbH
Avira AntiVir Server/ Professional (UNIX)
32
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).
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).
--temp-dir=<dir>
Defines the absolute path of the temporary
directory
directory
--version
Prints version information.
Option
Function
--alert-action=<spec>
Sets the action to be taken, when detecting
viruses or unwanted programs.
viruses or unwanted programs.
See the actions’ list at
--alert-action=quarantine
--archive-max-count=<N>
Limits the number of files packed in
archive or mailbox. The CLS does not scan
beyond the configured limits.
archive or mailbox. The CLS does not scan
beyond the configured limits.
--archive-max-ratio=<N>
Limits the archive or mailbox ratio. The
CLS does not scan beyond the configured
limits.
CLS does not scan beyond the configured
limits.
--archive-max-recursion=<N>
Limits the archive or mailbox recursion.
The CLS does not scan beyond the
configured limits.
The CLS does not scan beyond the
configured limits.
--archive-max-size=<N>
Limits the archive or mailbox size. The CLS
does not scan beyond the configured
limits.
does not scan beyond the configured
limits.
--batch
Enables "batch mode": the on-demand
scanner does not interact with the user on
the terminal; instead, it always takes the
configured alert action.
scanner does not interact with the user on
the terminal; instead, it always takes the
configured alert action.
--config
Prints a sample configuration.
-C <configuration-file>
Use a specific configuration file instead of
the default one.
the default one.