On 3/26/07, Ben Lenard <blenard@tm4h.com> wrote:> I've been trying to make the following work with no success. I want to
> rsync DIR-A to DIR-B and also have the delta files/folders also goto
> DIR-C.
>
> Any ideas?
You can do this with two passes; I don't know of a way to do it with a
single pass. Note that deletions from DIR-B, if any, are not
represented in DIR-C.
rsync <options> --compare-dest=../DIR-B/ DIR-A/ DIR-C/
rsync <options> DIR-A/ DIR-B/
(If you adapt these commands, remember that rsync interprets relative
--*-dest paths starting from the destination directory.)
Matt