Difference in --link-dest.

Wayne Davison wayned at samba.org
Fri Jul 22 21:08:21 GMT 2005

On Sat, Jul 23, 2005 at 12:01:45AM +0200, Maxim Kudelya wrote:
> rsync -av --link-dest=sources/ sources/ backup.0/
> that's don't make hardlinks, but copy.

Because, as the documentation states, --list-dest is relative to the
destination, so it's looking in backup.0/sources for potential files.
Try using --link-dest=../sources or even --link-dest=$PWD/sources.


More information about the rsync mailing list