[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] clamdscan: show clean files?

2023-03-13 Thread newcomer01 via clamav-users
Hello Andreas, please try in Terminal: man clamscan or clamscan --help to see which option it have OR man clamdscan or clamdscan --help to see his options I prefer here on my system clamscan, this has much more additional parameters as clamdscan kind greetings Marc Von / From: Clamav User M

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

2023-03-13 Thread Damian via clamav-users
I prefer here on my system clamscan, this has much more additional parameters as clamdscan clamscan is slow, as it has to load its database first. Any hints are appreciated … If I read the code correctly, this is not possible with clamdscan alone. However, this might work for you: find

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

2023-03-13 Thread Andrew C Aitchison via clamav-users
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

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] clamdscan: show clean files?

2023-03-13 Thread Arnaud Jacques
Hello, However, this might work for you: find /tmp/files -type f -exec clamdscan --no-summary {} + Faster with parallel command : find /tmp/files -type f |parallel clamdscan --no-summary {} -- Cordialement / Best regards, Arnaud Jacques Gérant de SecuriteInfo.com Téléphone : +33-(0)3.60

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

2023-03-13 Thread Damian via clamav-users
Faster with parallel command : find /tmp/files -type f |parallel clamdscan --no-summary {} Cannot confirm: bench@sigil:/$ time find /usr/share/doc/texinfo -type f | parallel clamdscan --fdpass --no-summary {} | tail -n 2 /usr/share/doc/texinfo/AUTHORS: OK /usr/share/doc/texinfo/NEWS.Debian.

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

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

2023-03-13 Thread Arnaud Jacques
Le 13/03/2023 à 15:39, Damian via clamav-users a écrit : Faster with parallel command : find /tmp/files -type f |parallel clamdscan --no-summary {} Cannot confirm: bench@sigil:/$ time find /usr/share/doc/texinfo -type f | parallel clamdscan --fdpass --no-summary {} | tail -n 2 /usr/share

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

2023-03-13 Thread Damian via clamav-users
Le 13/03/2023 à 15:39, Damian via clamav-users a écrit : Faster with parallel command : find /tmp/files -type f |parallel clamdscan --no-summary {} Cannot confirm: bench@sigil:/$ time find /usr/share/doc/texinfo -type f | parallel clamdscan --fdpass --no-summary {} | tail -n 2 /usr/share/d