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
- Intern -
-Ursprüngliche Nachricht-
Von: Andrew C Aitchison
clamdscan --verbose
Hi Andrew,
--verbose does not solve the problem.
Consider this directory with two clean files:
# ls -l /tmp/files/
total 8
-rw-r--r-- 1 root root 452 Mär 13 12:15 clean.md
-rw-r--r-- 1 root root 27
Hello @all
Thanks for the discussion so far. Based on the results we can use find + xargs
to get a result similar to our expectation.
Would be nice if clamdscan would do that out of the box some day.
# find /tmp/files/ -type f -print0 | xargs --null --no-run-if-empty clamdscan
--no-summary --mu