<div dir="ltr"><div><div><div>ichiwawa<br></div>I have been very much over thinking the problem, time for holiday<br></div>Thank You, this is fixing the dilemma <br><br></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Feb 7, 2022 at 7:37 PM Paul Slootman via rsync <<a href="mailto:rsync@lists.samba.org">rsync@lists.samba.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Mon 07 Feb 2022, Edwardo Garcia via rsync wrote:<br>
> <br>
> Lets call module mirror<br>
> this results in about 200 or more directories (projects), but I only want<br>
> one of them, lets call it foo, the problem is foo/  has about 50<br>
> directories, but the one and only one we want is bar, but bar also has<br>
> dozens of directories - but we do want these ones.<br>
> <br>
> so  we want     server:mirrors/foo/bar/*<br>
> <br>
> How do we place our rsync command?<br>
> <br>
> we have tried all kinds of   --include=foo/bar/  --exclude=*<br>
> servername:mirrors/<br>
> we tried an include exclude include exclude  too, infact every conceivable<br>
<br>
Why not just do:<br>
<br>
rsync -a server:mirrors/foo/bar/ /local/path/to/foo/bar/<br>
<br>
<br>
Paul<br>
<br>
-- <br>
Please use reply-all for most replies to avoid omitting the mailing list.<br>
To unsubscribe or change options: <a href="https://lists.samba.org/mailman/listinfo/rsync" rel="noreferrer" target="_blank">https://lists.samba.org/mailman/listinfo/rsync</a><br>
Before posting, read: <a href="http://www.catb.org/~esr/faqs/smart-questions.html" rel="noreferrer" target="_blank">http://www.catb.org/~esr/faqs/smart-questions.html</a><br>
</blockquote></div>