Dennis Peterson wrote:
William Scott wrote:
Hi,
Which is the correct method to exclude directories from a scan;
I ran clamscan --help and it says to use --exclude-dir=REGEX, not
--exclude=REGEX. I'd do what it says, and it works.
And since it says to use a regex expression, perhaps it will allow:
--exclude-dir='/proc|/devices|/var|/xfn|/lib'
dp
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html
Thanks again Dennis.
This is in regard to SMEServer(contribs.org) that use custom 'templates'
to produce the command line arguments.
Their code would produce --exclude /proc --exclude /devices --exclude /var
which according to the man is wrong.
I'm going to let it run overnight with and without my modified template
and see what the result summary shows.
Regards,
William.
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html