As for the reason why I wanted to check the number of scanned files by
clamdscan,
I just wanted to check that clamdscan the target directory recursivey.
$ find /tmp/dir1/ -type f
/tmp/dir1/eicar.txt
/tmp/dir1/dir2/eicar.txt
/tmp/dir1/dir2/dir3/eicar.txt
/tmp/dir1/dir2/dir3/dir4/eicar.txt
$ clam
I've installled ClamAV on debian jessie.
I want to check the number of scanned files by clamdscan.
$ find /tmp/folder1/ -type f
/tmp/folder1/1.txt
/tmp/folder1/folder2/3.txt
/tmp/folder1/2.txt
$ clamdscan -v /tmp/folder1/
/tmp/folder1: OK
--- SCAN SUMMARY ---
Infected files: 0
Ti