Loading...

clamav-users@lists.clamav.net

[Prev] Thread [Next]  |  [Prev] Date [Next]

Re: [Clamav-users] exclude multiple directories howto monte olvera Wed Jan 27 15:00:19 2010

Adding the trailing slash worked, thanks Bowie!

[EMAIL PROTECTED] testClam]# /opt/clamav/bin/clamscan
--exclude-dir="/tmp/testClam/test/|/tmp/testClam/test1/" -r /tmp/testClam
/tmp/testClam/file1: OK
/tmp/testClam/test2/test2File: OK
/tmp/testClam/test: Excluded
/tmp/testClam/file2: OK
/tmp/testClam/file3: OK
/tmp/testClam/test1: Excluded

----------- SCAN SUMMARY -----------
Known viruses: 702145
Engine version: 0.95.3
Scanned directories: 2
Scanned files: 4
Infected files: 0
Data scanned: 0.00 MB
Data read: 0.00 MB (ratio 0.00:1)
Time: 6.647 sec (0 m 6 s)
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml