On Thursday 18 September 2003 10:58 pm, Kevin Spicer wrote:
> On Thu, 2003-09-18 at 22:09, Darryl W. DeLao Jr wrote:
> > Anyone know of a way to make clamscan email you when its done scanning
> > with the results included?
>
> clamscan ${YOUR_OPTIONS} --stdout | mail -s "Clamscan results"
> [EMAIL PROTECTED]
Yes, neater than my version just piping direct to sendmail :)
> ...Or (to ignore okay files)..
>
> clamscan ${YOUR_OPTIONS} --stdout | grep -v OK | mail -s "Clamscan
> results" [EMAIL PROTECTED]
Achieve the same thing by including -i or --infected in ${YOUR_OPTIONS}
Antony.
--
Windows: just another pane in the glass.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users