www.grisoft.com
Copyright (c) 1992-2006 GRISOFT, s.r.o. All rights reserved.
AVG Linux Email Server / User Manual
33
7.
Standalone Command Line Modules
As a part of the AVG for Linux E-mail Server internal structure, several command
line configurable and executable modules are included in the installation package.
7.1.
AVGSCAN Command
The avgscan command is intended to perform various on-demand tests. Its
performance is comprehensively controlled by the command line parameters. The
general syntax of the command is
$ avgscan [options] [path|paths]
The [path|paths] string stands for a single path or multiple paths to be scanned.
The multiple paths are given in a list separated by the space character; a single
object can be also given to be processed by the scanner. When no options are
specified, a generic scan is performed for the given path(s).
Note: Although the avgscan command itself can manage only the on-demand test,
you can also use it to create scheduled tests by incorporating the cron Linux system
utility. See the manual pages (man [cron|crontab]) or the respective documentation
for detailed information.
The options for the avgscan command and their descriptions are given in the
following table:
Parameter
Description
-scan
Simple generic scan of the given objects and/or locations.
-heur
Switches on the heuristic analysis.
-exclude
[PATH|PATHS]
Excludes a particular path or paths from the scan; the
path(s) to be excluded must be given right after this option,
and separated by the space character.
-@ FILE
Specifies the command file with parameters to be processed
by the avgscan program; the file name must be given right
after this option, and separated by the space character.
-ext=<ext_mask> Explicit specification of file extensions to be scanned in the
form of
-ext=<ext_mask>, where the <ext_mask> string stands for
the extension definition (for example “*”, ”jpg” , etc.). When
entering multiple file extensions, they should be separated
by a semicolon.