<div dir="ltr"><div dir="ltr">On Tue, Jul 21, 2020 at 4:15 AM @lbutlr wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">how can I remove files on Server 3 that do not exist on either Server 1 or Server 2?<br></blockquote><div><br></div>If you want rsync to do the deletions during a copy from one of the servers, you'll need a filter file of "protect" (P) rules for every dir and file on the other source server (you could also cull the list to avoid P rules for files that they have in common, but that's not mandatory).  The filter file would need to have lines like "P /foo" and "P /path/bar" in it where the "/" refers to the top of the transfer, not the top of the filesystem. That would allow you to copy from (for instance) server 1 with --filter=". protect-rules" and --del (and --dry-run the first time) and have it avoid removing any of the files unique to server 2.</div><div class="gmail_quote"><br clear="all"><div>..wayne.. </div></div></div>