On Sun, Nov 28, 2021 at 12:53 PM Cristian via rsync <rsync@lists.samba.org> wrote:
> $ rsync --copy-unsafe-links -avz --delete tree XXX > In this case, the "tree" directory is a part of the transfer inside the top-of-transfer dir (the current directory). Thus any symlinks that don't try to escape the current directory are considered to be OK. You should instead suffix "tree" with a slash and add "tree" to your destination path: $ rsync --copy-unsafe-links -aivz --delete tree/ host:/old/path/tree/ This is discussed in the man page <https://download.samba.org/pub/rsync/rsync.1> (search for "unsafe"). ..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