[Bug 2294] New: Detect renamed files and handle by renaming instead of delete/re-send

samba-bugs at samba.org samba-bugs at samba.org
Tue Feb 1 18:56:09 GMT 2005


https://bugzilla.samba.org/show_bug.cgi?id=2294

           Summary: Detect renamed files and handle by renaming instead of
                    delete/re-send
           Product: rsync
           Version: 2.6.3
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P3
         Component: core
        AssignedTo: wayned at samba.org
        ReportedBy: mlw at infomg.com
         QAContact: rsync-qa at samba.org
                CC: mlw at infomg.com


It would be nice if rsync could detect identical files with differing names and
just copy/rename the files instead of sending the data all over again.

As I understand it, rsync creates a single long array listing of the filenames
and associated hashes.  If it's possible to index on the hashes, cross-checked
with file size, this should be fairly straight-forward, requiring no major
redesign to implement.

The enhancement is easily motivated if you think about what happens when rsync
is used to keep two large servers in sync, and a maintainer renames a top-level
directory on the source machine.

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the rsync mailing list