On Tue, 28 Nov 2006 12:25:14 -0800, Dennis Peterson <[EMAIL PROTECTED]> wrote: > Chris Purves wrote: >> /tmp/clamscan/*' I get the following error: >> >> /usr/bin/clamscan: Argument list too long > > This sounds like the command line limit for the OS. The list is quite > large at 5000 - for that it would probably make sense to script a Perl > solution that uses the stream input to clamd via sockets. Perl can also >
Well, I think that much easier would be to run clamscan /tmp/clamscan instead of clamscan /tmp/clamscan/* -- Virgo Pärna [EMAIL PROTECTED] _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html