On Tue, Nov 28, 2006 at 01:03:18PM -0700, Chris Purves wrote: > >- Create a directory in /tmp. In that directory create soft links that > >reference > >your files. Run clamscan on the links. Check the logs for viruses. Delete > >the links. Delete the directory. > > > This sounded like a good idea, so I gave it a try. After spending a few > hours to script the softlinks I got it to work for small file lists, but > it still doesn't work for lots of files (~5000). When I run 'clamscan > /tmp/clamscan/*' I get the following error: > > /usr/bin/clamscan: Argument list too long
Try: clamscan --recursive /tmp/clamscan/ -- Jan-Pieter Cornet <[EMAIL PROTECTED]> !! Disclamer: The addressee of this email is not the intended recipient. !! !! This is only a test of the echelon and data retention systems. Please !! !! archive this message indefinitely to allow verification of the logs. !! _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html
