"Leveille, Gerald via clamav-users" <clamav-users@lists.clamav.net> wrote:
> Categorization: Unclassified
> Hi,
> 
> I would like to know what would be the best way to do a virus scan of changed 
> or new files only. I want to run a daily scan of changed and new files during 
> weekdays and run a full scan on weekends.
> 
> I did some search and was able to find a few ways of doing it but I would 
> also like your suggestions.

I run this script from cron:

----
#!/bin/sh
export PATH=/usr/bin:$PATH
find /data -type f -mtime -7 >scanfiles
clamscan -f scanfiles -i
rm -f scanfiles
----

-Dave

_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml

Reply via email to