The Samba-Bugzilla – Bug 8057
-x negates --force
Last modified: 2011-04-04 18:24:51 UTC
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/
*** This bug has been marked as a duplicate of bug 7953 ***
(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.