doing an md5sum rsync?
greger_cronquist at yahoo.se
Tue Sep 9 22:33:07 EST 2003
See also unison, http://www.cis.upenn.edu/~bcpierce/unison/ which does
exactly this (and synchronizes using the rsync algorithm).
Martin Pool wrote:
>On 7 Sep 2003 Marc MERLIN <marc at merlins.org> wrote:
>>I don't know if this has been requested before, but I would really
>>like for rsync to compute an md5sum for each file at the source and
>>destination (with a flag turned off by default of course), and it
>>would realize that I renamed files at the source by noticing a
>>matching md5sum between different filenames
>>It would then rename the destination instead of deleting it and
>>resending the entire source, just because the filename changed.
>>This would also take care of me moving files between directory trees,
>>and again do a mv instead of a delete/resend (if I rsync the root of
>>all that of course)
>>Or is this possible already?
>This is not possible yet. It is on my wishlist for a future program.
>Of course remotely detecting files that have moved between directories
>might mean having the server hash every file on the filesystem. So it
>might be quite expensive...
More information about the rsync