Created attachment 11428 [details]
Proposed patch to add -wo option to rrsync that is mutex with existing -ro option
I needed to use rrsync as a write-only solution rather than a read-write or a read-only solution. I added an additional option -wo that does this. It also traps the error condition that a person specifies BOTH the -ro and the new -wo options.
I'm attaching the patch in case you wanted to include it going forward.
Thank you very much.
Seems like a simple and reasonable thing to add. I appreciate the patch, though I made the change a little differently (e.g. your code wouldn't have complained about -wo -ro, though it would have complained about -ro -wo).