This is a bug, right? (--link-dest)

Matt McCutchen matt at
Mon Apr 5 15:16:28 MDT 2010

On Mon, 2010-04-05 at 13:57 -0500, Randall Cotton wrote:
> This works as expected (a hard link is made)

> rsync -a --link-dest=../a.1 a/ b/a

> This does not (a copy is made instead of a hard link)

> rsync -a --link-dest=a.1 a b

Not a bug.  The --link-dest argument needs to be given relative to the
destination directory, even if the destination directory is given
without a trailing slash.


More information about the rsync mailing list