FreshClam(1)

NAME

freshclam - update virus databases

SYNOPSIS

freshclam [options]

DESCRIPTION

freshclam updates the virus database. It's a part of the Clam AntiVirus package. It requires Internet connection.

OPTIONS

-h, --help
    Output help information and exit.

-V, --version
    Print the version number and exit.

-v, --verbose
    Be verbose. This option causes freshclam to print many additional informations.

--quiet
    Be quiet - output only error messages.

--stdout
    Write all messages to the standard output (stdout), instead of the standard error output (stderr).

-l FILE, --log=FILE
    Save the download report to FILE. By default the log isn't saved.

--log-verbose
    Save an additional information (mostly needless) to the report file.

--datadir=DIRECTORY
    Install the downloaded database in DIRECTORY. Directory must be writeable for 'clamav' user or unprivileged user running freshclam.

-d, --daemon
    Run in a daemon mode. This option requires --checks.

-c #n, --checks=#n
    Check #n times per a day for the new database. #n must be between 1 and 50.

--http-proxy=hostname[:port]
    Connect via a proxy server.

--daemon-notify=/path/to/clamav.conf
    Notify the daemon about the new database. By default it reads hardcoded directory, but you can specify another one using a full path to clamav.conf. Local and TCP sockets are supported.

EXAMPLES

(0) Download database to default directory:
    freshclam

(1) Download database to current directory:
    freshclam --datadir .

(2) Run as daemon and check 2 times on day for new database:
    freshclam -d -c 2

RETURN CODES
0 : Database succesfully updated.

1 : Database is up-to-date.

40: Unknown option passed.

50: Can't change directory.

51: Can't check MD5 sum of file.

52: Connection problems with both hosts.

53: Can't unlink file.

54: MD5 checksum of downloaded database isn't ok.

55: Error reading file.

60: Can't get information about user 'clamav' (default name) from /etc/passwd.

CREDITS
Please check the full documentation for credits.

AUTHOR

Tomasz Kojm <zolw@konarski.edu.pl>

SEE ALSO

clamd(8), clamscan(1), sigtool(1), clamav.conf(5)