To be extra clear (since I was overly terse in my hasty answer), here's
your last example fixed for you:

    $ cd ~/dev
    $ rsync --copy-unsafe-links -aivz --delete ~/tmp/TST/tree/
~/tmp/XXX/tree/

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.

..wayne..
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to