Tomasz Kojm wrote:
Try the following two examples to see the difference:
$ clamscan --exclude-dir=/etc /etc
$ clamscan --exclude=/etc /etc
Thanks for that.
The system that I'm using (SMEServer) will produce a command line (using
the above example) as
$ clamscan -r --exclude /etc /etc
w
On Sun, 08 Oct 2006 10:46:28 -0700
Dennis Peterson <[EMAIL PROTECTED]> wrote:
> Tomasz Kojm wrote:
>
> >
> > --exclude="^/sys" and so on.
> >
>
> So --exclude= and --exclude-dir= are interchangeable?
Oh, good point. I should have used --exclude-dir instead of --exclude.
--exclude-dir makes c
Tomasz Kojm wrote:
--exclude="^/sys" and so on.
So --exclude= and --exclude-dir= are interchangeable?
dp
___
http://lurker.clamav.net/list/clamav-users.html
On Sun, 8 Oct 2006 19:33:09 +0200
Tomasz Kojm <[EMAIL PROTECTED]> wrote:
> On Sat, 07 Oct 2006 13:33:12 +1000
> William Scott <[EMAIL PROTECTED]> wrote:
>
> > Hi,
> >
> > Which is the correct method to exclude directories from a scan;
> >
> > clamscan -r / \
> > --exclude-dir=proc \
> > --exclu
On Sat, 07 Oct 2006 13:33:12 +1000
William Scott <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Which is the correct method to exclude directories from a scan;
>
> clamscan -r / \
> --exclude-dir=proc \
> --exclude-dir=sys \
> --exclude-dir=share \
> --exclude-dir=var \
> --exclude-dir=quarantine \
> --ex
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
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='
Hi,
Which is the correct method to exclude directories from a scan;
clamscan -r / \
--exclude-dir=proc \
--exclude-dir=sys \
--exclude-dir=share \
--exclude-dir=var \
--exclude-dir=quarantine \
--exclude-dir=mnt \
--exclude-dir=ibays
or
clamscan -r / \
--exclude /proc \
--exclude /sys \
--excl