![]() |
![]() | clamscanlog becomes very big in a few time | ![]() |
![]() |
![]() | ![]() |
budtse
![]() |
![]() |
Can you check your clamwin filter settings (Preferences > Filters tab) ?
*.vm* is not included by default, maybe someone accidentally put it in ? Also, on the advanced tab, there is a setting to limit the size of the report file, for example to 1 MB (seems that 1 Meg is the smallest limit you can set, i don't know the technical reason for this). |
|||||||||||
|
![]() |
![]() | ![]() |
alch
Site Admin
![]() |
![]() |
*.vmw is not a correct regular expression syntax you need to use:
--exclude="[^\]*\.vmw$" |
|||||||||||
|
![]() |
![]() | ![]() |
adelpin
![]() |
![]() |
could be right if I use this expression: --exclude="*.vmw$" The error was the missing: " in the expressions inside the .bat file? |
|||||||||||||
|
![]() |
![]() | ![]() |
adelpin
![]() |
![]() |
The ClamWin filter settings take effect on the clamscan asctivated by batch file?, so is not necessary to specify the excluded extensions in batch file? |
|||||||||||||
|
![]() |
![]() | ![]() |
alch
Site Admin
![]() |
![]() |
no clamwin filters have no effect when you call clamscan outside of clamwin gui (batch file or otherwise)
|
|||||||||||
|
![]() |
![]() | ![]() |
adelpin
![]() |
![]() |
How I can change the syntax in .bat file for the extensions to exclude? |
|||||||||||||
|
![]() |
![]() | ![]() |
adelpin
![]() |
![]() |
Is this the right correction for the .bat file I used?:
@echo off start /low C:\Programmi\ClamWin\App\clamwin\bin\clamscan.exe --database="C:\Programmi\ClamWin\Data\db" --recursive -i --log="C:\Programmi\ClamWin\App\clamwin\bin\ClamScanLog.txt" --move="C:\Programmi\ClamWin\Data\quarantine" -k --show-progress --exclude-dir="D:\share\COMOALTBACKUP" --exclude-dir="C:\Programmi\ClamWin\Data\quarantine" --config-file="C:\Programmi\ClamWin\App\clamwin\bin\Clamwin.conf" --skip-noexe --detect-pua --exclude="[^\]*\.log$" --exclude="[^\]*\.pst$" --exclude="[^\]*\.ost$" --exclude="[^\]*\.jpg$" --exclude="[^\]*\.avi$" --exclude="[^\]*\.msi$" --exclude="[^\]*\.gif$" --exclude="[^\]*\.ico$" --exclude="[^\]*\.wmv$" C:\ |
|||||||||||
|
![]() |
![]() | ![]() |
adelpin
![]() |
![]() |
I put the changes listed above, when i run .bat files clamscan ends after few minutes, no messages in the clamscanlog.
I ask again: the changes listed above in the .bat file are correct? please someone answer to me. ![]() |
|||||||||||
|
![]() |
![]() | ![]() |
adelpin
![]() |
![]() |
this the final version of the .bat file:
@echo off start /low C:\Programmi\ClamWin\App\clamwin\bin\clamscan.exe --database="C:\Programmi\ClamWin\Data\db" --recursive -i --log="C:\Programmi\ClamWin\App\clamwin\bin\ClamScanLog.txt" --move="C:\Programmi\ClamWin\Data\quarantine" -k --show-progress --exclude-dir="D:\share\COMOALTBACKUP" --exclude-dir="C:\Programmi\ClamWin\Data\quarantine" --exclude="[^\]*\.log$" --exclude="[^\]*\.htm$" --exclude="[^\]*\.msi$" --exclude="[^\]*\.gif$" --exclude="[^\]*\.jpg$" --exclude="[^\]*\.ico$" --exclude="[^\]*\.ost$" --exclude="[^\]*\.pst$" --exclude="[^\]*\.avi$" --config-file="C:\Programmi\ClamWin\App\clamwin\bin\Clamwin.conf" --skip-noexe --detect-pua c:\ This batch file is quite sensitive, a carriage return or a bad space and it doesn't work. However now It works well!, thanks to everybody. ![]() |
|||||||||||
|
![]() |
![]() | ![]() |
GuitarBob
![]() |
![]() |
This would be a good candidate for a FAQ.
Regards, |
|||||||||||
|
![]() |
![]() | ![]() |
b0ne
![]() |
![]() |
That regular expression is actually broken (backslashes are supposed to be escaped) and results in wasteful time spent backtracing. The faster and proper version of this regex would be the following: "\.vmw$" This version does not match the entire string, backtrace to the dot, then match from the dot forwards over the file extension twice. |
|||||||||||||
|
![]() |
![]() | clamscanlog becomes very big in a few time | ![]() |
|
||
![]() |
![]() |
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.
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.