Re: Using linux command "find" to get modified files list for scan

Masaru Nomiya via clamav-users <[email protected]>
Newsgroups gmane.comp.security.virus.clamav.user
Message-ID <[email protected]>
Hello,

In the Message; 

  Subject    : Re: [clamav-users] Using linux command "find" to get modified files list for scan
  Message-ID : <1733732516.S.11406.autosave.drafts.1733732836.27850@webmail.rediffmail.com>
  Date & Time: 9 Dec 2024 08:27:16 -0000

[NR] == "neel roy" <[email protected]> has written:

[...]
NR>  When I run clamscan/clamdscan on entire file system, why
NR> doesn't it use &quot;find&quot; command to get the list of
NR> modified files since last time and run scan on them? In which
NR> cases,find would not work?

Sorry, I misunderstood.

clamscan and clamdscan can be used in combination with the find
command. For example, you can use the find command to identify
recently modified files, and then pipe the output to clamscan or
clamdscan to scan only the modified files. This method can greatly
reduce the scanning time, I think.

Best Regards.

---
     Masaru Nomiya                   mail-to: nomiya @ lake.dti.ne.jp

       "During testing, Sakana found that its system began unexpectedly
	       attempting to modify its own experiment code to extend the time
	       it had to work on a problem."
	       
 	       -- Research AI model unexpectedly attempts to modify its own code
 	       	  to extend runtime (ars TECHNICA) --
_______________________________________________

Manage your clamav-users mailing list subscription / unsubscribe:
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/Cisco-Talos/clamav-documentation

https://docs.clamav.net/#mailing-lists-and-chat
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.