[clamav-users] [EXTERNAL] clamav scan of changed files
Dave Sill
sillde at ornl.gov
Tue Oct 20 12:27:32 UTC 2020
"Leveille, Gerald via clamav-users" <clamav-users at 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
More information about the clamav-users
mailing list