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@samba.org
ReportedBy: Dave@Yost.com
QAContact: rsync-qa@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.
--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html