Hi,

I have gone through the rsync documentation and also tested same both
--no-implied-dir and --keep-dirlinks options.  My question is what is the
difference between these options in below scenario?

I have /foo/bar is the symlink to /foo/baz at source and same directory
structure with symlink is there at destination. When I sync the data from
/foo/bar/* with --relative option specified, I am ending with losing symlink
at destination. The rsync replaces symlink (/foo/bar -> /foo/baz) with
/foo/bar directory and synch data into it rather than synching it to
/foo/baz/. When I read rsync documentation and used either of
--keep-dirlinks or --no-implied-dir option, everything works as expected.

Jignesh
-- 
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