doing an md5sum rsync?
jw at pegasys.ws
Tue Sep 9 14:09:17 EST 2003
On Tue, Sep 09, 2003 at 01:17:50PM +1000, 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...
Only every deleted file with one or more new files having
the same size. Identifying files both renamed and modified
would cost more than it would save.
J.W. Schultz Pegasystems Technologies
email address: jw at pegasys.ws
Remember Cernan and Schmitt
More information about the rsync