[Bug 2294] Detect renamed files and handle by renaming instead of delete/re-send

Joe josephj at main.nc.us
Wed Jan 7 16:12:47 MST 2015

Isn't this pretty much what specifying --fuzzy --fuzzy (twice) is
supposed to do?


On 01/03/2015 04:23 PM, samba-bugs at samba.org wrote:
> https://bugzilla.samba.org/show_bug.cgi?id=2294
> --- Comment #22 from elatllat at gmail.com ---
> Wow 10 years.
> Maybe one reason this has not been implemented is there are other options. 
> For example I have been using a shell script as a wrapper to reduce the
> iteration of this bug, here is how it works:
> 1) Create 2 lists of files; destination and source with the files sizes and
> path
> 2) For each file that is in the destination but not the source
> 3) Create a subset of the source list containing file of the same size
> 4) If the subset > 0 hash the destination file and each file in the source
> subset until a match is found
> 5) Ensure the dir exists on the destination and move/rename the file.
> 6) On some systems hash can be as expensive as re-transferring the file so I
> added an option to move the file if there was one match (only sometimes
> hashing), and another to skip if more(never hashing).
> Though as I am re-evaluating my backup strategy I am looking into git-annex and
> other solutions.
> https://en.wikipedia.org/wiki/List_of_backup_software#Free_software

More information about the rsync mailing list