[clamav-users] Using a file to list exclusions for on-demand search?

Micah Snyder (micasnyd) micasnyd at cisco.com
Thu Jan 4 19:03:27 UTC 2018

Presently, the only way to do exclusions is through the options for clamd in clamd.conf.  We have a ticket for a feature request to add a --exclude option to clamscan, but we unfortunately don’t have the time to address it anywhere in the near future.

Micah Snyder
Software Engineer
Cisco Systems, Inc.

On Jan 4, 2018, at 1:37 PM, Paul B. <pbpublic at gmail.com<mailto:pbpublic at gmail.com>> wrote:

I just installed ClamAv on a desktop Linux machine. I would like to
set it up using aliases in the bashrc file, so I can do various kinds
of file and directory scans from the command line. Rather than an
unwieldy string of exclusions in the alias' command line, I would like
to have a file that lists exclusions, which Clam would reference. I've
seen mention of this ability, but not enough info to get me started. I
do not have the daemon installed, just ClamAv, and FreshClam for

Thanks for any insight.
clamav-users mailing list
clamav-users at lists.clamav.net<mailto:clamav-users at lists.clamav.net>

Help us build a comprehensive ClamAV guide:


More information about the clamav-users mailing list