Added an extra paragraph to the --link-dest option to make it more
authorWayne Davison <wayned@samba.org>
Tue, 23 Jan 2007 15:34:43 +0000 (15:34 +0000)
committerWayne Davison <wayned@samba.org>
Tue, 23 Jan 2007 15:34:43 +0000 (15:34 +0000)
explicit that it is best used with an empty destination hierarchy.

rsync.yo

index 60e1c17..d5f6ead 100644 (file)
--- a/rsync.yo
+++ b/rsync.yo
@@ -1346,6 +1346,12 @@ and the attributes updated.
 If a match is not found, a basis file from one of the em(DIR)s will be
 selected to try to speed up the transfer.
 
+This option works best when copying into an empty destination hierarchy, as
+rsync treats existing files as definitive (so it never looks in the link-dest
+dirs when a destination file already exists), and as malleable (so it might
+change the attributes of a destination file, which affects all the hard-linked
+versions).
+
 Note that if you combine this option with bf(--ignore-times), rsync will not
 link any files together because it only links identical files together as a
 substitute for transferring the file, never as an additional check after the