https://bugzilla.samba.org/show_bug.cgi?id=8057 Summary: -x negates --force Product: rsync Version: 3.0.7 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P5 Component: core AssignedTo: wayned at samba.org ReportedBy: samba at liquidbinary.com QAContact: rsync-qa at samba.org more specifically, -x inhibits --force from recursively descending a directory to delete when it is being replaced by a non-directory. 2.6.9 and 3.0.7 on all platforms I've tested exhibit the same behavior. Mac, linux, OpenBSD. The following commands produce the error: rm -rf src dest mkdir src src/sub1 src/sub1/sub1a src/sub2 src/sub2/sub2a rsync -ax src/ dest/ rm -Rf src/sub2 ln -s sub1 src/sub2 rsync --force -ax src/ dest/ -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
https://bugzilla.samba.org/show_bug.cgi?id=8057 Wayne Davison <wayned at samba.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE --- Comment #1 from Wayne Davison <wayned at samba.org> 2011-04-04 16:58:29 UTC --- *** This bug has been marked as a duplicate of bug 7953 *** -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
https://bugzilla.samba.org/show_bug.cgi?id=8057 --- Comment #2 from ED Fochler <samba at liquidbinary.com> 2011-04-04 18:24:51 UTC --- (In reply to comment #1)> > *** This bug has been marked as a duplicate of bug 7953 ***Wow. You are correct sir. This is fixed in 3.0.8. Shame on me. Thank you very much. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
Reasonably Related Threads
- DO NOT REPLY [Bug 6746] New: file from link-dest-source is copies and not linked for identical files
- [LLVMdev] Saving a reference to a Basic Block?
- Problem/Bug when syncing subdirectory structures with delay-updates and partial-dir
- c(recursive=TRUE)
- [Bug 9670] New: missing substructure within partial-dir causes files to be lost or overwritten