exclude-dir with clamdscan

G.W. Haywood clamav at jubileegroup.co.uk
Tue May 15 12:32:12 EDT 2018


Hi there,

On Tue, 15 May 2018, Stefan Schumacher wrote:

> I would like to use clamdscan to scan an entire server but exclude
> sys, proc and dev.

mail6:~$ >>> cat testfile
/etc/perl/
mail6:~$ >>> clamdscan -f testfile
/etc/perl: OK

----------- SCAN SUMMARY -----------
Infected files: 0
Time: 0.020 sec (0 m 0 s)

8<----------------------------------------------------------------------
Log extract:
8<----------------------------------------------------------------------
May 15 17:21:22 mail6 clamd[670]: /etc/perl/sitecustomize.pl: OK
May 15 17:21:22 mail6 clamd[670]: /etc/perl/Net/libnet.cfg: OK
May 15 17:21:22 mail6 clamd[670]: /etc/perl/XML/SAX/ParserDetails.ini: OK
May 15 17:22:03 mail6 clamd[670]: /etc/perl/sitecustomize.pl: OK
May 15 17:22:03 mail6 clamd[670]: /etc/perl/Net/libnet.cfg: OK
May 15 17:22:03 mail6 clamd[670]: /etc/perl/XML/SAX/ParserDetails.ini: OK
8<----------------------------------------------------------------------

-- 

73,
Ged.



More information about the clamav-users mailing list