search for: fuzzy_distance

Displaying 1 result from an estimated 1 matches for "fuzzy_distance".

2008 Apr 03
1
combining --preallocate and --fuzzy
...switch as a basis for rsync. I want to take this one step farther. What I would like to accomplish is the merging of the .preallocate patch and the .fuzzy option. When these 2 switches are used together (at least on Windows platforms), I want rsync to determine which fuzzy file to use (from the fuzzy_distance() function), but then go ahead and preallocate the new file, not with posix_fallocate(), but with the contents of the file matched from fuzzy_distance(). This would keep the destination file from being severely fragmented. What I see happening is rsync doing a local file copy first, but not block...