Problem using --fuzzy with --*-dest flags

Graham 5915 graham5915 at gmail.com
Thu Mar 6 17:42:49 MST 2014


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/rsync/attachments/20140306/8a8215dd/attachment.html>


More information about the rsync mailing list