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
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
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
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.
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
- 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
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
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
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
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
10 matches
Mail list logo