Chuck Swiger wrote:
> On May 8, 2008, at 4:08 PM, Rekrutacja wrote:
>> is it possible that developers will add option to clamscan, to load  
>> file
>> list to be scanned, from other file?
> 
> Can't you do this via something like:
> 
> % ls -1 > /tmp/filelist_to_scan
> % xargs clamdscan < /tmp/filelist_to_scan
> 
> ...?

i didn't know i can give more than 1 argument to clamscan... by the way
- any idea how to scan files encoded in base64 ? there are PHP.shells on
my server, that are easly found by clamscan when in normal text, but
when encoded in base64 , clam doesn't detect anything.

i thought base64 was added already?

also, any way to add daemon but not for mails, but one that will scan
files added to some directory in the background automatically?

> 
>> the problem is i have many users uploading files, and i log it. i want
>> clamscan to run like every minute or less, and scan these files from  
>> the
>> list, but it takes a lot of time for clamscan to load into memory
>> (viruses databases)
> 
> Right, so use clamdscan rather than normal clamscan.
> 
>> wouldn't that be easier to just be able to add like --load-from-file
>> option, where i can tell clamscan which files should be scanned?
> 
> I don't see anything wrong with the notion of having explicit support  
> for loading filenames from a file, but you can use xargs to place such  
> files onto the command-line arguments and get the same results....
> 



_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to