[clamav-users] clamdscan: show clean files?

Andrew C Aitchison clamav at aitchison.me.uk
Mon Mar 13 10:14:43 UTC 2023


On Mon, 13 Mar 2023, Schulze, Andreas via clamav-users wrote:

> Hello,
>
> we like to scan directories an gather verbose reports. These must include information about the scan result for each file.
> Using clamdscan, this does not happen: clamdscan inform only on infected files.
>
> # clamdscan --version
> ClamAV 1.0.1
>
> # ls -l /tmp/files/
> total 8
> -rw-r--r-- 1 root root 27 Mär 13 08:31 clean.txt
> -rw-r--r-- 1 root root 69 Mär 13 08:32 EICAR.COM
>
> # clamdscan --no-summary /tmp/files/
> /tmp/files/EICAR.COM: Eicar-Signature FOUND
>
> Using clamscan, also clean files are listed:
>
> # clamscan --no-summary /tmp/files/
> /tmp/files/EICAR.COM: Eicar-Signature FOUND
> /tmp/files/clean.txt: OK
>
> And this is exactly what we like to see using clamdscan.
> Any hints are appreciated ...
>
> Thanks
> Andreas
>
> - Intern -

clamdscan --verbose

-- 
Andrew C. Aitchison                      Kendal, UK
                    andrew at aitchison.me.uk


More information about the clamav-users mailing list