find (options) | xargs clamscan 

So to search all files in home

find /home/ |xargs clamscan

Or to scan only certain files of specified size (thanks to Noel Jones for
this one)
find / -type f -size N | xargs clamscan


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of mcd
Sent: 08 September 2006 04:22 PM
To: ClamAV users ML
Subject: [Clamav-users] Can I give clam a list of files to scan

Basically I want to continue on with what some of the people on this list
were saying about using tripwire (or something similar) to just scan files
on a system that have changed. I wouldn't want to call clamscan multiple
times each with one file, but rather call it once with a big list of files
to scan.





mcd
--
** *** ***** ******* ***********
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html



_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to