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? Thanks, Marc -- "A mouse is a device used to point at the xterm you want to type in" - A.S.R. Microsoft is to operating systems & security .... .... what McDonalds is to gourmet cooking Home page: http://marc.merlins.org/ | Finger marc_f@merlins.org for PGP key
On 7 Sep 2003 Marc MERLIN <marc@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... -- Martin
Reasonably Related Threads
- win32:DEVICE_Open Unknown VxD A:. Try --winver nt40 or win31 !
- btrfs-zero-log (v 0.20-rc1) corrupted double linked list.
- zlib vs lzo uncompress speed, ssd vs nossd
- 3.4.4: BUG: Bad rss-counter state x
- WARNING: at fs/btrfs/inode.c:2165 btrfs_orphan_commit_root+0xcb/0xdf()