pattern geeks?

lejeczek peljasz at yahoo.co.uk
Wed Oct 21 13:01:11 UTC 2020


hi guys,

I'm trying lsyncd with some patterns which should be just
rsync's own patterns and I have these:

rsync = {  _extra = {
        "--include=samba**",
        "--include=postfix**",
        "--include=openvpn**",
        "--include=strongswan**",
        "--include=httpd/conf.d/cluster.d**",
        "--exclude=**",
    }
}

in my lsyncd.conf
The rest of the config says the source dir, as well as the
target, is '/etc'
Now, stuff gets excluded and things as listed get included
and go into target except for:
"httpd/conf.d/cluster.d**"

Obviously it isn't as simple as I presumed.
How to make such sub-folder path included would you know?
many thanks, L.



More information about the rsync mailing list