What if you do the specific include/exclude? /opt/app/dir2/.* NORMAL !/opt/app/dir1 !/opt/app/dir3
--- Michael Shirk On Wed, Nov 18, 2015 at 12:23 PM, Brian Mathis <brian.mathis+a...@betteradmin.com> wrote: > I'm trying to setup some rules that exclude all files/dirs in a subdirectory > except for one, without itemizing every file to exclude. > > Example: > /opt/app/dir1 --> exclude > /opt/app/dir2 --> include > /opt/app/dir3 --> exclude > > I'm trying something like this, but can't seem to get it working: > /opt/app/dir2/.* NORMAL > !/opt/app/ > / EVERYTHING > The ! rule always seems to override the dir2 rule. > > Is there any way to accomplish this with aide? > > ~ Brian Mathis > @orev > > > _______________________________________________ > Aide mailing list > Aide@cs.tut.fi > https://mailman.cs.tut.fi/mailman/listinfo/aide > _______________________________________________ Aide mailing list Aide@cs.tut.fi https://mailman.cs.tut.fi/mailman/listinfo/aide