

move=DIRECTORY Move infected files into DIRECTORY. These options can be used multiple times. include=REGEX, -include-dir=REGEX Only scan file/directory matching regular expression. exclude=REGEX, -exclude-dir=REGEX Don't scan file/directory names matching regular expression. no-summary Do not display summary at the end of scanning. There are 3 options: 0 - never follow file symlinks, 1 (default) - only follow file symlinks, which are passed as direct arguments toĬlamscan. follow-file-symlinks= Follow file symlinks. There are 3 options: 0 - never follow directory symlinks, 1 (default) - only follow directory symlinks, which are passed asĭirect arguments to clamscan. follow-dir-symlinks= Follow directory symlinks. cross-fs= Scan files and directories on other filesystems. All the subdirectories in the given directory will be scanned. r, -recursive Scan directories recursively. f FILE, -file-list=FILE Scan files listed line by line in FILE. leave-temps Do not remove temporary files. Directory must be writable for the '' user or unprivileged user running clamscan. tempdir=DIRECTORY Create temporary files in DIRECTORY. l FILE, -log=FILE Save scan report to FILE. official-db-only= Only load the official signatures published by the ClamAV project. d FILE/DIR, -database=FILE/DIR Load virus database from FILE or load all virus database files from DIR. stdout Write all messages (except for libclamav output) to the standard output (stdout). quiet Be quiet (only print error messages). debug Display debug messages from libclamav. V, -version Print version number and exit.

h, -help Print help information and exit. The asterisk marks the default internal setting for a given option. They get called without the boolean argument the scanner will assume 'yes'. Options marked with can be optionally followed by =yes/=no if Most of the options are simple switches which enable or disable some features.
