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 Talos Cisco Systems, Inc. On Jan 4, 2018, at 1:37 PM, Paul B. <pbpub...@gmail.com<mailto:pbpub...@gmail.com>> wrote: Hi, 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 updates. Thanks for any insight. paul _______________________________________________ clamav-users mailing list clamav-users@lists.clamav.net<mailto:clamav-users@lists.clamav.net> http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/contact.html#ml _______________________________________________ clamav-users mailing list clamav-users@lists.clamav.net http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/contact.html#ml