[Aide] aide conf
Welf.Tiemann@Bertelsmann.de
Welf.Tiemann at Bertelsmann.de
Wed Aug 17 17:54:40 EEST 2005
Thanks for your help Richard!
Is there a difference in the way V0.9 and V0.10 handle directorynames containing dots?
V0.10 works the way your describe but V0.9 ignores /weird.directory.
Regards
Welf
-----Ursprüngliche Nachricht-----
Von: aide-bounces at cs.tut.fi [mailto:aide-bounces at cs.tut.fi] Im Auftrag von Richard van den Berg
Gesendet: Mittwoch, 17. August 2005 11:23
An: Aide user mailinglist
Betreff: Re: [Aide] aide conf
Welf.Tiemann at Bertelsmann.de wrote:
> /foo$ R
This will just match the file "/foo"
> /!foo$
Negation rules should start with !, like: !/foo$
> /!foo/.*\.log$
> /!foo/.*/.*\.log$
Wildcards in 2nd level directory names will not cause aide to recurse.
> More strange: What if the directories name contains dots? I.e.
You simply escape the dots with a backslash.
> /weird\.directory$ R
That should work, but it will not recurse (because of the $ at the end).
Please note that R is an alias for "p+i+n+u+g+s+m+c+md5" and has nothing to do with recursion.
> I like to monitor the directory /foo together with it's children but
> not /foobar. But i don't want to monitor *.log files in it nor changes
> of the directory itself.
It seems you want something like this:
/foo/.* R
!/foo/.*log$
!/foobar$
!/foobar/.*
The last 2 lines are not really needed since /foo/.* does not match /foobar at all.
Sincerely,
Richard van den Berg
_______________________________________________
Aide mailing list
Aide at cs.tut.fi
https://mailman.cs.tut.fi/mailman/listinfo/aide
More information about the Aide
mailing list