--compare-dest not working for me. what am I doing wrong?

Wayne Davison wayned at samba.org
Fri Nov 16 00:08:08 GMT 2007

On Thu, Nov 15, 2007 at 10:29:58PM +0100, Lucas Meijer wrote:
> mkdir a b c
> echo foo > a/test
> echo foo > b/test
> rsync -av --compare-dest=../b a/ c/

The two test files don't match in their preserved attributes.  They must
either have the same mtime, or you must not ask rsync to preserve times.


More information about the rsync mailing list