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 clamscan to skip a whole directory while --exclude works
on a per file basis.

Try the following two examples to see the difference:

$ clamscan --exclude-dir=/etc /etc
$ clamscan --exclude=/etc /etc

-- 
   oo    .....         Tomasz Kojm <[EMAIL PROTECTED]>
  (\/)\.........         http://www.ClamAV.net/gpg/tkojm.gpg
     \..........._         0DCA5A08407D5288279DB43454822DC8985A444B
       //\   /\              Sun Oct  8 20:09:05 CEST 2006
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to