[clamav-users] clamav scan of changed files

2020-10-20 Thread Leveille, Gerald via clamav-users
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 bu

Re: [clamav-users] clamav scan of changed files

2020-10-20 Thread G.W. Haywood via clamav-users
Hi there, On Tue, 20 Oct 2020, Leveille, Gerald via clamav-users wrote: 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 wa

Re: [clamav-users] clamav scan of changed files

2020-10-20 Thread Leveille, Gerald via clamav-users
8:14 AM To: Leveille, Gerald via clamav-users Cc: G.W. Haywood Subject: Re: [clamav-users] clamav scan of changed files ***ATTENTION*** This email originated from outside of the Government of Canada. Do not click links or open attachments unless you recognize the sender and believe the content

Re: [clamav-users] clamav scan of changed files

2020-10-20 Thread G.W. Haywood via clamav-users
Hi there, On Tue, 20 Oct 2020, Leveille, Gerald via clamav-users wrote: G.W. Haywood wrote: Leveille, Gerald wrote: > 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

Re: [clamav-users] clamav scan of changed files

2020-10-20 Thread Olivier via clamav-users
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

Re: [clamav-users] clamav scan of changed files

2020-10-21 Thread giovanni+clamav
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 sear

Re: [clamav-users] clamav scan of changed files

2020-10-21 Thread Nibin V M via clamav-users
The inotify-tools may be useful in this case. An example like in https://fitzcarraldoblog.wordpress.com/2016/02/20/automatically-detecting-files-placed-in-my-downloads-directory-in-gentoo-linux-and-scanning-them-for-viruses/ should work. On Wed, Oct 21, 2020 at 1:06 PM wrote: > > On 10/21/20 4:0

Re: [clamav-users] clamav scan of changed files

2020-10-21 Thread Andrew C Aitchison via clamav-users
On Wed, 21 Oct 2020, giovanni+cla...@paclan.it wrote: 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

Re: [clamav-users] clamav scan of changed files

2020-10-21 Thread G.W. Haywood via clamav-users
Hi there, On Wed, 21 Oct 2020, Andrew C Aitchison via clamav-users wrote: I was assuming that clamav's on-access scanning used the same mechanism as inotify. No need to assume anything: https://www.clamav.net/documents/on-access-scanning It's documented there that it uses fanotify, only wor

Re: [clamav-users] clamav scan of changed files

2020-10-22 Thread Andrew C Aitchison via clamav-users
On Wed, 21 Oct 2020, G.W. Haywood via clamav-users wrote: On Wed, 21 Oct 2020, Andrew C Aitchison via clamav-users wrote: > and that using clamav's on-access scanning has the advantage of catching the > nasties before the file is used, unlike the inotify-bsed solutions, which > avoid th

Re: [clamav-users] clamav scan of changed files

2020-10-22 Thread G.W. Haywood via clamav-users
Hi there, On Thu, 22 Oct 2020, Andrew C Aitchison via clamav-users wrote: On Wed, 21 Oct 2020, G.W. Haywood via clamav-users wrote: On Wed, 21 Oct 2020, Andrew C Aitchison via clamav-users wrote: > and that using clamav's on-access scanning has the advantage of catching the > nasties before