Adding the trailing slash worked, thanks Bowie!

[r...@conrad 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

Reply via email to