On Wed, Jun 16, 2010 at 1:37 PM, Marc MERLIN <m...@merlins.org> wrote:
> I should keep my /a -> /c symlink on the destination without > --no-implied-dirs since I have /a -> /c on the source too, and this is what > rsync 2 did. > See the --relative option in the man page: Beginning with rsync 3.0.0, rsync always sends these implied directories as real directories in the file list, even if a path element is really a symlink on the sending side. This prevents some really unexpected behaviors when copying the full path of a file that you didn’t realize had a symlink in its path. If you want to duplicate a server-side symlink, include both the symlink via its path, and referent directory via its real path. If you’re dealing with an older rsync on the sending side, you may need to use the --no-implied-dirs option. So, in your case, you're wanting to both duplicate the /a symlink, and something down in the /c heirarchy, so you could copy both /a (the symlink) and /c/b (the real hierarchy) in the same transfer. Or just use --no-i-d, as you discovered. ..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