<div dir="ltr"><div dir="ltr">To be extra clear (since I was overly terse in my hasty answer), here's your last example fixed for you:</div><div dir="ltr"><br></div><div dir="ltr"><font face="monospace">    $ cd ~/dev<br>    $ rsync --copy-unsafe-links -aivz --delete ~/tmp/TST/tree/ ~/tmp/XXX/tree/</font></div><div dir="ltr"><br></div><div dir="ltr">This is how rsync knows where the safe restriction lies -- at the top of the transfer (the final slash). Thus, your statement about your desired restriction not being possible is false.</div><div dir="ltr"><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">..wayne..</div></div></div></div>