Ok thank you very much

On Wed, Jan 27, 2021 at 11:56 AM G.W. Haywood via clamav-users <clamav-users@lists.clamav.net> wrote:
Hi there,

On Wed, 27 Jan 2021, Michael Kyriacou via clamav-users wrote:

> Hello, thank you for the response. I tried to reinstall clamav after I saw
> that there was a new update, but when I install it, it installs version
> 0.102.4.

One of the problems with using packages is that they tend to be out of
date.  For something like ClamAV I prefer to install from source.

> Could you give me an example of an ‘ExcludePath’  that could do the
> following:
>
> Exclude a file in /path/to/file

ExcludePath ^/path/to/file$

> Exclude a file in /different/path/to/file

ExcludePath ^/different/path/to/file$

> Exclude all files with a .sys extension, regardless of path

ExcludePath .*\.sys$

There are many sources of information and tutorials about regular
expressions available on the Web.  There are unfortunately a few
different kinds of regular expressions.  Stick to the POSIX kind
and you should be OK.  The regexes used in signatures may be of a
different (and simplified) kind from POSIX expressions, don't get
confused if you come across them in the signature documentation.
POSIX expressions work there too, but possibly less efficiently.

Don't forget to restart the clamd daemon after changing clamd.conf
(or whatever your package calls the configuration file).

--

73,
Ged.

_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml