 | ClamAV command line virus scan logs. How to only show virus |  |
fannonland
Joined: 27 Feb 2012 |
Posts: 0 |
|
|
 |
Posted: Mon Feb 27, 2012 6:05 pm |
|
 |
 |
 |
 |
I have trimmed down the ClamAV to just a few files and am going to run it on a schedule to a couple machines. I then want to run a job that will take the virusscan log and feed it into my database and parse out any problems.
Right now here is my command line.
C:\ClamAV\Clamscan -d c:\Clamav\database -l c:\virusscan.log -i -r c:\
But after it runs I get a log that has all the "Can't open file" and "Empty File" errors. I don't care. I just want the list of viruses if it gets infected. If I am clean I dont' want anything in that log file except 0 (Zero) viruses found.
|
|
dchip
Joined: 04 Apr 2012 |
Posts: 0 |
|
|
 |
Posted: Wed Apr 04, 2012 2:08 am |
|
 |
 |
 |
 |
C:\ClamAV\Clamscan -d c:\Clamav\database -l c:\virusscan.log -i -r --infected c:\
That should do it.
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
All times are GMT
Page 1 of 1
|
|
|
Powered by
phpBB © phpBB Group
Design by
phpBBStyles.com |
Styles Database.
Content © ClamWin Free Antivirus GNU GPL Free Software Open Source Virus Scanner. Free Windows Antivirus. Stay Virus Free with Free Software.