--link-dest

Matt McCutchen matt at mattmccutchen.net
Sat Dec 15 03:55:23 GMT 2007


On Fri, 2007-12-14 at 17:50 -0800, Alan Batie wrote:
> The first step is 
> to be able to verify that --link-dest works on it, but I can't even get 
> it to work in an known-good environment --- no matter how I specify the 
> args to it, it's copying the file rather than linking

> <agora.rdrop.com> [151] $ rsync -a --link-dest=b.1 x b.0

The man page description of --link-dest states that rsync interprets the
path relative to the destination directory, so you need to pass
--link-dest=../b.1 .

Matt



More information about the rsync mailing list