File rename detection?

Дмитрий Агафонов aga at rsm.ru
Wed Jan 28 18:06:52 GMT 2004


Hello!

As I was found rsync do not detect file renaming. If I just copy my
backup.0.tgz (many Mbytes in size having it's md5) to backup.1.tgz
(which will be equial in size and md5) it will be the same file
in fact...

Rsync will delete old file (backup.0.tgz) on the receiving side and
download new one (backup.1.tgz). I do not think there are any
difficulties to detect this situation and follow the natural way:
just rename the file on the receiving side.

Am I right?

--
Dmitry



More information about the rsync mailing list