When I try to specify multiple --exclude-dir clamscan only uses the last one.
Examples below. Need a way to exclude both dir1 and dir2 clamscan -r /root/clamtest/dir1/dir1a/test.file: Empty file /root/clamtest/dir1/test.file: Empty file /root/clamtest/dir2/test.file: Empty file /root/clamtest/dir3/test.file: Empty file clamscan -r --exclude-dir=/root/clamtest/dir1 /root/clamtest/dir1: Excluded /root/clamtest/dir2/test.file: Empty file /root/clamtest/dir3/test.file: Empty file clamscan -r --exclude-dir=/root/clamtest/dir1 --exclude-dir=/root/clamtest/dir2 /root/clamtest/dir1/dir1a/test.file: Empty file /root/clamtest/dir1/test.file: Empty file /root/clamtest/dir2: Excluded /root/clamtest/dir3/test.file: Empty file Duane Smith Information Technology Appliance Engineering Systems Support GE Consumer & Industrial Phone (502) 452-7843 *334-7843 Fax (502) 452-0512 -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jason Englander Sent: Thursday, July 07, 2005 11:44 AM To: ClamAV users ML Subject: Re: [Clamav-users] --exclude-dir option On Thu, 7 Jul 2005, Smith, Duane E (GE Consumer & Industrial) wrote: > I need to exclude several directories when I scan the complete system. > How do I specify multiple directories with the --exclude-dir option man clamscan says: --exclude=PATT, --exclude-dir=PATT Don't scan file/directory names containing PATT. It may be used multiple times. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -- 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-users.html
