---------- Forwarded message ----------
From: Jason Englander <[EMAIL PROTECTED]>
To: ClamAV users ML <clamav-users@lists.clamav.net>
Date: Thu, 7 Jul 2005 13:36:45 -0400 (EDT)
Subject: RE: [Clamav-users] --exclude-dir option
Reply-To: ClamAV users ML <clamav-users@lists.clamav.net>
On Thu, 7 Jul 2005, Smith, Duane E (GE Consumer & Industrial) wrote:
When I try to specify multiple --exclude-dir clamscan only uses the last
one.
clamscan --help says this:
--exclude-dir=REGEX Don't scan directories matching
So, try something like this instead:
clamscan -r --exclude-dir='/root/clamtest/dir(1|2)'
--- docs/man/clamscan.1.orig 2005-06-18 19:00:46.000000000 -0400
+++ docs/man/clamscan.1 2005-07-07 13:27:23.000000000 -0400
@@ -52,11 +52,11 @@
\fB\-\-no\-summary\fR
Do not display summary at the end of scanning.
.TP
-\fB\-\-exclude=PATT, \-\-exclude\-dir=PATT\fR
-Don't scan file/directory names containing PATT. It may be used multiple
times.
+\fB\-\-exclude=REGEX, \-\-exclude\-dir=REGEX\fR
+Don't scan file/directory names containing REGEX.
.TP
-\fB\-\-include=PATT, \-\-include\-dir=PATT\fR
-Only scan file/directory names containing PATT. It may be used multiple times.
+\fB\-\-include=REGEX, \-\-include\-dir=REGEX\fR
+Only scan file/directory names containing REGEX.
.TP
\fB\-i, \-\-infected\fR
Only print infected files.
--
Jason Englander <[EMAIL PROTECTED]>
394F 7E02 C105 7268 777A 3F5A 0AC0 C618 0675 80CA
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html
_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html