Re: --copy-unsafe-links unexpected behavior with unsafe symlinks

Wayne Davison via rsync <[email protected]>
Newsgroups gmane.network.rsync.general
Message-ID <CAHSx_StJ3xAsYGcDZHruLFC703sOyXbH+26JpgOP1wFBHm_LBQ@mail.gmail.com>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.