> What I am actually trying to do is have clamscan only scan files that 
> are new or have not changed since the last scan.  I have gotten as far 
> as creating a filelist containing a list of files that are new or where 
> the md5sum has changed.  The problem I have now is how to get that 
> information to clamscan efficiently.
> 

Try:

- Create a directory in /tmp. In that directory create soft links that reference
your files. Run clamscan on the links. Check the logs for viruses. Delete
the links. Delete the directory.

or:

- In a script use --include=PATT for each file you wish to scan. Haven't tried
this one for a lot of files.

dp
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to