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 \ > > --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 \ > > --exclude /usr/share \ > > --exclude /var \ > > --exclude /var/spool/clamav/quarantine \ > > --exclude /mnt \ > > --exclude /home/e-smith/files/ibays > > > > > > or am I totally wrong. > > --exclude="^/sys" and so on. Or even better --exclude="^/sys/" -- oo ..... Tomasz Kojm <[EMAIL PROTECTED]> (\/)\......... http://www.ClamAV.net/gpg/tkojm.gpg \..........._ 0DCA5A08407D5288279DB43454822DC8985A444B //\ /\ Sun Oct 8 19:33:46 CEST 2006 _______________________________________________ http://lurker.clamav.net/list/clamav-users.html