At 09:42 AM 9/8/2006, mcd wrote:
This is an interesting approach, but let me explain a little more. I will be running md5sums for every file on a system. I will then compare that list of md5sums against a list of md5sums that are know to be virus free. The files that do not have valid md5sums in the database will then need to be scanned. In a lot of situations this list of files will be in the thousands. At this point would I be better off calling clamscan to scan the entire disk, or call clamscan 10,000+ times with unknown files? I hope I am making this
clear. Thanks for all of your help.

cat big.list.of.files | xargs clamscan

"man xargs" to see a description and options.

You could alternately use clamdscan, but then you may run into permission problems as clamd usually isn't run as root.

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

Reply via email to