To scan a folder, run
clamscan -r /path/to/folder/
-r will scan sub folders too.
To Scan a Folder (Only Show Infected)
clamscan -ri /path/to/folder/
To exclude a folder from search, use
clamscan -ri --exclude-dir="^/opt/zimbra/store" /opt/zimbra/
See clamav
Leave a Reply