Nick, On Tuesday, 2024-04-02 19:07:56 +0000, you wrote:
> ... > 1. clamscan --exclude-dir=/tmp/ > 2. clamscan --exclude-dir=/tmp/* > 3. clamscan --exclude-dir="^/tmp/" What you specify here are regular expressions matching the path to a di- rectory, but a trailing slash is never part of a directory name (though it may be part of an "ls -p" output). Thus "^/tmp$" is what you should use. Sincerely, Rainer _______________________________________________ Manage your clamav-users mailing list subscription / unsubscribe: https://lists.clamav.net/mailman/listinfo/clamav-users Help us build a comprehensive ClamAV guide: https://github.com/Cisco-Talos/clamav-documentation https://docs.clamav.net/#mailing-lists-and-chat