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

Reply via email to