DO NOT REPLY [Bug 5887] New: RFE: --link-any-dest option considers contents only, ignores name

samba-bugs at samba.org samba-bugs at samba.org
Tue Nov 11 07:32:21 GMT 2008


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

           Summary: RFE: --link-any-dest option considers contents only,
                    ignores name
           Product: rsync
           Version: 3.1.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: core
        AssignedTo: wayned at samba.org
        ReportedBy: Dave at Yost.com
         QAContact: rsync-qa at samba.org


Use case: say you have a directory full of media files on the source, and you
copy them all to the destination. Now you rename some or all of the source
files. You want rsync to rename the files on the destination to match the
source. So you might do this:

rsync -av --delete --link-any-dest=.  .

rsync would checksum all files in the source and destination hierarchies. If a
destination file is found with checksum matching the source, the link is made
if the contents are identical, whether or not the filenames are identical.
After this is all done, then --delete operations would take place.


-- 
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