[clamav-users] clamav scan of changed files

giovanni+clamav at paclan.it giovanni+clamav at paclan.it
Wed Oct 21 07:35:01 UTC 2020


On 10/21/20 4:08 AM, Olivier via clamav-users wrote:
> 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.
> 
> There is that daemon that can report any changed files in an operating
> system, I known I played witg it many years ago as I wanted somethiung
> able to scan anything on the fly. It was on FreeBSD, but such daemon
> should exist for Linux too and it could send the files/filenames to the
> scanning daemon.
> 
you could use incrond(8) which uses the inotify(2) interface to scan for changed files, this can be used to produce a list of files that will be scanned later.

 Giovanni



More information about the clamav-users mailing list