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: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]


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

Reply via email to