[clamav-users] clamdscan: show clean files?

2023-03-13 Thread Schulze, Andreas via clamav-users
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

Re: [clamav-users] [EXTERNAL] Re: clamdscan: show clean files?

2023-03-13 Thread Schulze, Andreas via clamav-users
- 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

Re: [clamav-users] [EXTERNAL] clamdscan: show clean files? (SEMI-SOLVED)

2023-03-13 Thread Schulze, Andreas via clamav-users
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