On Thu, 2007-11-15 at 15:41 +0100, Lucas Meijer wrote: > Can anybody spot my mistake? > > mkdir a b c > echo foo > a/test > echo foo > b/test > rsync -av --compare-dest=b a/ c/
Relative --*-dest paths are interpreted relative to the destination directory (as stated in the man page), so you should use: rsync -av --compare-dest=../b a/ c/ Matt -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html