@Haywood I know that Clamd uses Multiscan mode when we perform scan over dirtectory to do Parallel scanning using available threads.. but In the case of you suggested command we only able to send the file one by one to Clamd server through clamdscan request.so we can't able to take the advantage of multi-threading.so it increases overall scanning time
On 4 October 2016 at 23:02, crazy thinker <crazythinke...@gmail.com> wrote: > @Haywood > > Thanks for reply..i checked this command. it's working fine..but I am > planning to code changes in code base to achieve each call back file status > when perform a scan over dirtectory that conatins multiple > subdirtectories.. could you please help me on this ..i think you have good > understanding on clamav internals > > On 4 October 2016 at 22:44, G.W. Haywood <cla...@jubileegroup.co.uk> > wrote: > >> Hi there, >> >> On Tue, 4 Oct 2016, crazy thinker wrote: >> >> when i scanned a dirtectory using clamdscan, i could get only error and >>> virus file infected files status in output.but i would like to see each >>> file status(including "OK" status also ) when i perform scan over sinle >>> dirtectory / multiple dirtectories >>> >>> how does it can be achived? could anyone please help me in this... >>> >> >> /usr/bin/find /path/to/files -type f -name '*' | /usr/bin/xargs -I '{}' >> /path/to/clamdscan '{}' >> >> -- >> >> 73, >> Ged. >> >> _______________________________________________ >> 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