--link-dest doesn't work if target file exists (but needs updating)

Henri Shustak henri.shustak at gmail.com
Sun Jan 22 13:37:54 MST 2012

> On 12-01-20 06:01 PM, Kevin Korb wrote:
>> Someone has requested it:
>> https://bugzilla.samba.org/show_bug.cgi?id=7870
> I'm not really sure that is the same bug.  Maybe it is.  Not convinced
> though.  I guess I can file my own bug and ask 7870's OP to see if it's
> the same issue.
>> But is seems like an rm -rf and a cp -al would do the same thing.
> But as I said before, it won't.  Not all files in the destination are
> the same as the source and files may exist in the destination that don't
> exist in the source.

Is what you are trying to achieve part of a backup system / script?

More information about the rsync mailing list