Command-line parameters

The utility runs on Linux-based OSes or FreeBSD and supports the following command-line parameters:

Parameter

Description

--help

Function: Output short help about command-line parameters to the console or terminal emulator and exit.

Short form: -h

Arguments: None.

--version

Function: Output information about the version of the utility to the console or terminal emulator and exit.

Short form: -v

Arguments: None.

--key

Function: Set a path to the key file.

Short form: None.

Arguments: <a path to the file> — a full or relative path to the key file.

--antispam-drl

Function: Set a path to the .drl file comprising a URL of a mirror for antispam databases.

Short form: None.

Arguments: <a path to the file> — a full or relative path to the .drl file.

--antispam-drl

Function: Set a path to the .ini file comprising URLs of mirrors for antispam databases.

Short form: None.

Arguments: <a path to the file> — a full or relative path to the .ini file.

--bases-drl

Function: Set a path to the .drl file comprising a URL of a mirror for virus databases.

Short form: None.

Arguments: <a path to the file> — a full or relative path to the .drl file.

--bases-ini

Function: Set a path to the .ini file comprising URLs of mirrors for virus databases.

Short form: None.

Arguments: <a path to the file> — a full or relative path to the .ini file.

--dws-drl

Function: Set a path to the .drl file comprising a URL of a mirror for unwanted website databases.

Short form: None.

Arguments: <a path to the file> — a full or relative path to the .drl file.

--dws-ini

Function: Set a path to the .ini file comprising URLs of mirrors for unwanted website databases.

Short form: None.

Arguments: <a path to the file> — a full or relative path to the .ini file.

--path

Function: Set a path of a directory to store a local mirror.

Short form: None.

Arguments: <a path to the directory> — a full or relative path to the directory.

--arch

Function: Set a target architecture.

Short form: None.

Arguments: <a type of the architecture>. Allowed values: x86, x86_64, mips, e2k, aarch64 or ppc64.

--debug

Function: Show debug information while running a command.

Short form: -d

Arguments: None.

The utility can be used without installing Dr.Web products, however, the user must have access to the Dr.Web key file and the .drl or .ini file for a group of resources to be downloaded.

Unlike .drl files, .ini files comprise several mirror URLs, which allows to use a fall-back mirror if the default one is unavailable.

The following parameters must be indicated: --path, --key, any one of --bases-drl, --bases-ini, --antispam-drl, --antispam-ini, --dws-drl or --dws-ini keys, as well as a path to the corresponding .drl or .ini file.

The --arch optional parameter sets a target architecture to download updates for. By default, it matches the architecture of the computer running a command with this parameter. If the updates are designated for a computer having another architecture, such architecture must be set after this parameter.