--link-dest not working?
Parke Bostrom
parke.bostrom at gmail.com
Mon Dec 7 20:34:40 MST 2009
On Mon, Dec 7, 2009 at 7:27 PM, Matt McCutchen <matt at mattmccutchen.net> wrote:
> 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 .
Thanks! That's it.
I thought I tried it with absolute paths and relative paths, but I guess not.
-Parke
More information about the rsync
mailing list