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

neel roy via clamav-users <[email protected]>
Newsgroups gmane.comp.security.virus.clamav.user
Message-ID <1733743224.S.30773.autosave.drafts.1733743230.31065@webmail.rediffmail.com>
Hello Masaru,

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

Yes, that I found evident as described in mail below. Yet, no antivirus including ClamAV use this approach in their product. There must be reason(s). I am just trying to find that reason.

Thanks in advance,
-Neel.

From: Masaru Nomiya via clamav-users &lt;[email protected]&gt;
Sent: Mon, 09 Dec 2024 14:27:10
To: [email protected]
Cc: Masaru Nomiya &lt;[email protected]&gt;
Subject: Re: [clamav-users] Using linux command &quot;find&quot; to get modified files list for scan

Hello,

In the Message;

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

[NR] == &quot;neel roy&quot; &lt;[email protected]&gt; has written:

[...]
NR&gt; &nbsp;When I run clamscan/clamdscan on entire file system, why
NR&gt; doesn&#39;t it use &amp;quot;find&amp;quot; command to get the list of
NR&gt; modified files since last time and run scan on them? In which
NR&gt; 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.

---
$B(.(,(,(/WD(B &nbsp; &nbsp; Masaru Nomiya &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; mail-to: nomiya @ lake.dti.ne.jp
$B(-!@!?WD(B
$B(1(,(,(0(B &nbsp; &nbsp; &nbsp; &quot;During testing, Sakana found that its system began unexpectedly
&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; attempting to modify its own experiment code to extend the time
&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; it had to work on a problem.&quot;
&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;-- Research AI model unexpectedly attempts to modify its own code
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;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

_______________________________________________

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.