I run clamAV on my Mac Book (installed via clamXav). It seems to be not entirely obeying the --exclude and --exclude-dir flags.
I have a directory (/media/binstore) which is an sshfs mount from another server. I want to exclude scanning this directory to avoid excess network traffic. While clamscan never reports a virus in that directory, it is opening and reading the files in that directory. How can this be avoided? Clamscan invocation (from ps): /usr/local/clamXav/bin/clamscan -ri --quiet --log=/Users/alininge/Library/Logs/clamXav-scan.log --scan-mail=no --phishing-scan-urls=no --exclude="/opt/local/msf/" --exclude-dir="/opt/local/msf/" --exclude="/media/" --exclude-dir="/media/" --exclude="/media/binstore" --exclude-dir="/media/binstore" --exclude=^/Volumes --exclude=^/dev --exclude-dir=^/Volumes --exclude-dir=^/dev / Thanks, Adam Lininger _______________________________________________ Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/contact.html#ml