pattern geeks?

Kevin Korb kmk at sanitarium.net
Wed Oct 21 14:11:33 UTC 2020


You need to include the dirs leading to there...
--include=httpd/, --include=httpd/conf.d/
Otherwise it will never look inside to see the cluster.d

(I am assuming you are right about lsyncd using the same patterns as rsync).


On 10/21/20 9:01 AM, lejeczek via rsync wrote:
> 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.
> 

-- 
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,
	Kevin Korb			Phone:    (407) 252-6853
	Systems Administrator		Internet:
	FutureQuest, Inc.		Kevin at FutureQuest.net  (work)
	Orlando, Florida		kmk at sanitarium.net (personal)
	Web page:			https://sanitarium.net/
	PGP public key available on web site.
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,



More information about the rsync mailing list