AIDE - How to exclude whole folders?

I've recently installed AIDE on a server of mine after having a run in with hackers a week or so ago.

There doesn't appear to be much documentation around for AIDE, especially on their website. I've found plenty of info on excluding certain file types, but can't find an example of how to exclude whole folders from being processed by AIDE?


According to the AIDE manual, try this:

!/path/to/your/directory/.*    # which you want to exclude