--link-dest not working?

Matt McCutchen matt at mattmccutchen.net
Mon Dec 7 20:27:18 MST 2009


On Mon, 2009-12-07 at 19:21 -0800, Parke Bostrom wrote:
> Why is rsync with --link-dest not working as I expect it to in the
> following example?

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

>From the man page:

--link-dest=DIR
[...] If DIR is a relative path, it is relative to the destination
directory.

So you need to pass --link-dest=../a .

-- 
Matt



More information about the rsync mailing list