Use "-o" instead of "--infected" and then you'll proably want to filter out any messages that end in ": Empty file" or ": Symbolic link".
Jim On Thu, Mar 11, 2021 at 12:28:49PM +0100, Ben Stuyts wrote: > Hello, > > I’m running a daily clamscan on my home directories, and lately I get this > error message: > > LibClamAV Warning: fmap: failed to get MD5 > LibClamAV Error: CRITICAL: fmap() failed > > I can’t figure out what file clamav is having trouble with. The command I use > is: > > /usr/bin/find [...] -print0 | xargs -0 /usr/local/bin/clamscan --infected > --no-summary --official-db-only=yes > > Versions: > > Clam AntiVirus: Scanner 0.103.1 > Running on FreeBSD 12.2-RELEASE-p3 GENERIC amd64 > > Any ideas? > > Ben > > > _______________________________________________ > > clamav-users mailing list > clamav-users@lists.clamav.net > https://lists.clamav.net/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 https://lists.clamav.net/mailman/listinfo/clamav-users Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/contact.html#ml