samba-bugs@samba.org
2008-Aug-04 05:23 UTC
DO NOT REPLY [Bug 5665] New: need option to hard link from source tree to dest tree
https://bugzilla.samba.org/show_bug.cgi?id=5665 Summary: need option to hard link from source tree to dest tree Product: rsync Version: 3.0.4 Platform: All OS/Version: All Status: NEW Severity: major Priority: P3 Component: core AssignedTo: wayned@samba.org ReportedBy: Dave@Yost.com QAContact: rsync-qa@samba.org This is something I do a lot, and I've been using an older tool to do this. Rsync should do it, too. mkdir a b touch a/file1 a/file2 rsync -a --new-option a b would create b/a/file1 b/a/file2 as shared links to their counterparts in a/ -- 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.
samba-bugs@samba.org
2008-Aug-04 12:36 UTC
DO NOT REPLY [Bug 5665] need option to hard link from source tree to dest tree
https://bugzilla.samba.org/show_bug.cgi?id=5665 matt@mattmccutchen.net changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|major |enhancement ------- Comment #1 from matt@mattmccutchen.net 2008-08-04 07:36 CST ------- Just pass a --link-dest option for the source dir. -- 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.
samba-bugs@samba.org
2008-Aug-04 14:29 UTC
DO NOT REPLY [Bug 5665] need option to hard link from source tree to dest tree
https://bugzilla.samba.org/show_bug.cgi?id=5665 ------- Comment #2 from Dave@Yost.com 2008-08-04 09:29 CST ------- OK, but 1. an option specifically for this is warranted. 2. the new option would operate quite differently from using link_dest, as below --clone hard links the destination to the source. If necessary, each existing destination file is removed first. It is an error to use this option unless src and dest are on the same volume. -- 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.
samba-bugs@samba.org
2008-Aug-04 14:38 UTC
DO NOT REPLY [Bug 5665] need option to hard link from source tree to dest tree
https://bugzilla.samba.org/show_bug.cgi?id=5665 ------- Comment #3 from matt@mattmccutchen.net 2008-08-04 09:38 CST ------- (In reply to comment #2)> 1. an option specifically for this is warranted.Why?> 2. the new option would operate quite differently from using link_dest, as > below > > --clone hard links the destination to the source. If necessary, each existing > destination file is removed first.The --recheck-basis-dirs option of bug 5644 would make --link-dest work that way.> It is an error to use this option unless src > and dest are on the same volume.Is it really important for rsync to issue an error in this case? -- 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.
samba-bugs@samba.org
2008-Oct-02 19:01 UTC
DO NOT REPLY [Bug 5665] need option to hard link from source tree to dest tree
https://bugzilla.samba.org/show_bug.cgi?id=5665 wayned@samba.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WONTFIX ------- Comment #4 from wayned@samba.org 2008-10-02 14:01 CST ------- I personally don't see the need for this as a special option. -- 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.
Apparently Analagous Threads
- DO NOT REPLY [Bug 5887] New: RFE: --link-any-dest option considers contents only, ignores name
- DO NOT REPLY [Bug 7670] New: rsync --hard-links fails where ditto succeeds
- DO NOT REPLY [Bug 5795] New: error in rsync protocol data stream (code 12) at io.c(632) [sender=3.0.4]
- DO NOT REPLY [Bug 5644] New: Option to recheck basis dirs for existing dest files
- DO NOT REPLY [Bug 6546] New: lremovexattr problems