Hi,

I'm trying to get the --fuzzy option to work with --compare-dest with rsync
3.1.0.

I'm testing with two files. "C_VOL-b001-i3818.spi" and
"C_VOL-b001-i3816.spi" are copies of one another, but I've modified the
latter a bit with a hex editor as a test. The modified date is still the
same.

This works for me (fuzzy is utilized against the 3816 test file):

rsync --fuzzy --fuzzy -vv C_VOL-b001-i3818.spi rsync://user@localhost
/SHARENAME/dest
Contents of SHARENAME/dest: C_VOL-b001-i3816.spi

This does not work:

rsync --fuzzy --fuzzy -vv --copy-dest=../alt C_VOL-b001-i3818.spi
rsync://user@localhost/SHARENAME/dest
Contents of SHARENAME/dest: <empty>
Contents of SHARENAME/alt: C_VOL-b001-i3816.spi

I do get complaints that:
"file has vanished"[...]"[..]alt/C_VOL-b001-i3816.spi" (in SHARENAME)"
...so it does appear to be seeing the contents of the "alt" folder. Fuzzy
isn't being run against it, however.

I'd appreciate any insight on this.

PS: I posted another thread having to do with issues with the --debug=FUZZY
flag, but I think that's a separate issue so I'm posting this separately
for clarity.

Thanks
Graham
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to