Re: [Clamav-users] Excluding Directories

2006-10-08 Thread William Scott
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

Re: [Clamav-users] Excluding Directories

2006-10-08 Thread Tomasz Kojm
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

Re: [Clamav-users] Excluding Directories

2006-10-08 Thread Dennis Peterson
Tomasz Kojm wrote: --exclude="^/sys" and so on. So --exclude= and --exclude-dir= are interchangeable? dp ___ http://lurker.clamav.net/list/clamav-users.html

Re: [Clamav-users] Excluding Directories

2006-10-08 Thread Tomasz Kojm
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

Re: [Clamav-users] Excluding Directories

2006-10-08 Thread Tomasz Kojm
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

Re: [Clamav-users] Excluding Directories

2006-10-07 Thread William Scott
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

Re: [Clamav-users] Excluding Directories

2006-10-07 Thread Dennis Peterson
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='

[Clamav-users] Excluding Directories

2006-10-07 Thread William Scott
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