Clamdscan with clamd should scan directories recursively. Check out clamd configuration parameters FollowDirectorySymlinks and FollowFileSymlinks in case they apply.
Steve On Tue, Apr 28, 2015 at 2:33 PM, John McGowan <[email protected]> wrote: > Hi, > > I've been banging my head trying to figure this out on my own for the > better part of a day now. I'm running Amazon Linux, have got the > proper clamav packages installed to have the following stuff working. > > * clamd is running > * clamscan runs from the command line > * clamdscan runs from the command line > > However, clamdscan doesn't recursively crawl the file system, it only > seems to want to scan a single file. > > Before i craft a "find | xargs clamdscan" type of solution for this, > can I just get confirmation that recursive scanning with just > clamdscan is not possible? > > I suspect that most people use clamdscan to do "one off" scanning, > (mail servers, etc) > > In my use case I want to leverage clamd, so that I can take advantage > of the SysLogging capabilities of clamd, but I'm looking for more of a > traditional daily "scan the entire file system" solution. > > -- > /John > _______________________________________________ > Help us build a comprehensive ClamAV guide: > https://github.com/vrtadmin/clamav-faq > > http://www.clamav.net/contact.html#ml > _______________________________________________ Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/contact.html#ml
