monte olvera wrote:
> Hello, I'm running linux (fedora 11) and clamav (0.95.3) and I need to
> exclude multiple directories but am having trouble, any ideas?
>
>
> [r...@conrad testClam]# /opt/clamav/bin/clamscan
> --exclude-dir=/tmp/testClam/test --exclude-dir=/tmp/testClam/test1 -r
> /tmp/testClam
> /tmp/testClam/file1: OK
> /tmp/testClam/test2: Excluded
> /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: 1
> Scanned files: 3
> Infected files: 0
> Data scanned: 0.00 MB
> Data read: 0.00 MB (ratio 0.00:1)
> Time: 7.805 sec (0 m 7 s)
>
>
> The above excludes the test2 directory, not what I want.
>   

Try this:
# /opt/clamav/bin/clamscan --exclude-dir=/tmp/testClam/test/
--exclude-dir=/tmp/testClam/test1/ -r

-- 
Bowie


_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to