OS Manuals

/usr/bin/clamdscan

ClamAV daemon client

From clamav-1.4-clamdscan 1.4.3-r3 (os), captured 2026-11-05 by running clamdscan --help (exit 0). permalink

                      Clam AntiVirus: Daemon Client 1.4.3
           By The ClamAV Team: https://www.clamav.net/about.html#credits
           (C) 2024 Cisco Systems, Inc.

    clamdscan [options] [file/directory/-]

    --help              -h             Show this help
    --version           -V             Print version number and exit
    --verbose           -v             Be verbose
    --quiet                            Be quiet, only output error messages
    --stdout                           Write to stdout instead of stderr. Does not affect 'debug' messages.
                                       (this help is always written to stdout)
    --log=FILE          -l FILE        Save scan report in FILE
    --file-list=FILE    -f FILE        Scan files from FILE
    --ping              -p A[:I]       Ping clamd up to [A] times at optional interval [I] until it responds.
    --wait              -w             Wait up to 30 seconds for clamd to start. Optionally use alongside --ping to set attempts [A] and interval [I] to check clamd.
    --remove                           Remove infected files. Be careful!
    --move=DIRECTORY                   Move infected files into DIRECTORY
    --copy=DIRECTORY                   Copy infected files into DIRECTORY
    --config-file=FILE    -c           Read configuration from FILE.
    --allmatch            -z           Continue scanning within file after finding a match.
    --multiscan           -m           Force MULTISCAN mode
    --infected            -i           Only print infected files
    --no-summary                       Disable summary at end of scanning
    --reload                           Request clamd to reload virus database
    --fdpass                           Pass filedescriptor to clamd (useful if clamd is running as a different user)
    --stream                           Force streaming files to clamd (for debugging and unit testing)
Options (20)
OptionDescriptionSource
--help-h Show this helphelp
--version-V Print version number and exithelp
--verbose-v Be verbosehelp
--quietBe quiet, only output error messageshelp
--stdoutWrite to stdout instead of stderr.help
--log FILE-l FILE Save scan report in FILEhelp
--file-list FILE-f FILE Scan files from FILEhelp
--ping-p A[:I] Ping clamd up to [A] times at optional interval [I] until it responds.help
--wait-w Wait up to 30 seconds for clamd to start.help
--removeRemove infected files.help
--move DIRECTORYMove infected files into DIRECTORYhelp
--copy DIRECTORYCopy infected files into DIRECTORYhelp
--config-file FILE-c Read configuration from FILE.help
--allmatch-z Continue scanning within file after finding a match.help
--multiscan-m Force MULTISCAN modehelp
--infected-i Only print infected fileshelp
--no-summaryDisable summary at end of scanninghelp
--reloadRequest clamd to reload virus databasehelp
--fdpassPass filedescriptor to clamd (useful if clamd is running as a different user)help
--streamForce streaming files to clamd (for debugging and unit testing)help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.