DO NOT REPLY [Bug 3740] New: --delete with -a failes with warning (though -a is supposed to imply -r)

samba-bugs at samba-bugs at
Fri Apr 28 19:58:18 GMT 2006

           Summary: --delete with -a failes with warning (though -a is
                    supposed to imply -r)
           Product: rsync
           Version: 2.6.8
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P3
         Component: core
        AssignedTo: wayned at
        ReportedBy: imorgan at
         QAContact: rsync-qa at

After upgrade to 2.6.8:

> rsync: --delete does not work without -r or -d.
> rsync error: syntax or usage error (code 1) at main.c(1231) [client=2.6.8]

Actual command line us using --delete and -a. -a is supposed to mean -rlptgoD.
Many existing scripts broken by this, all needing a fix, but not clear what
best fix is. Should I be adding -r to the command line, even though -a already
implies it!?

I think that --delete with -a should _not_ be causing this failure.

Configure bugmail:
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

More information about the rsync mailing list