---- Original Message ----
> From _Chris McKeever_ <[EMAIL PROTECTED]>
> Date: Tuesday, 03 Jun 2003, 19:15
>
> is there a way to output the infected file listing to a file?
> I see the -i to show only the infected, but I am not sure how to list that
> into a the output file.

Standard UNIX redirection will do this.  Using '--stdout' to prevent it 
sending the output to standard out rather than standard error makes this 
a little easier.

clamscan --stdout -ri directory/ > outputfile.txt

for example.  How does that differ with what you want?

You can combine this with 'grep' if you want more control, eg

clamscan --stdout -ri directory/ | grep Klez > klexinfections.txt

-- 
Stephen White <[EMAIL PROTECTED]>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to