[SCM] The rsync repository. - branch master updated

2020-07-21 Thread Rsync CVS commit messages
The branch, master has been updated via 96be713f Update NEWS. via 13d8fc95 Avoid some extraneous parent-dir warnings via f74473b1 Don't create a path for a file marked as missing. via 5eda68f1 Tweak include syntax. via f6352073 Save the build into an

Re: Syncing from two sources to one target and deleting files not in either source

2020-07-21 Thread Wayne Davison via rsync
On Tue, Jul 21, 2020 at 4:15 AM @lbutlr wrote: > how can I remove files on Server 3 that do not exist on either Server 1 or > Server 2? > 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

[Bug 12569] Missing directory errors not ignored

2020-07-21 Thread just subscribed for rsync-qa from bugzilla via rsync
https://bugzilla.samba.org/show_bug.cgi?id=12569 --- Comment #23 from Marc Krämer --- @Wayne: thanks, you're right. I've overlooked this option and didn't expect it to be harmful. Removing it really solves the issue. -- You are receiving this mail because: You are the QA Contact for the bug.

[Bug 12569] Missing directory errors not ignored

2020-07-21 Thread just subscribed for rsync-qa from bugzilla via rsync
https://bugzilla.samba.org/show_bug.cgi?id=12569 --- Comment #22 from Wayne Davison --- The --no-implied-dirs code was recreating the directories after they had been deleted. I changed it to avoid that if the entry it is processing is marked as missing. I also silenced the parent-dir warning

[Bug 12569] Missing directory errors not ignored

2020-07-21 Thread just subscribed for rsync-qa from bugzilla via rsync
https://bugzilla.samba.org/show_bug.cgi?id=12569 --- Comment #21 from Wayne Davison --- Get rid of --no-implied-dirs and --ignore-errors is also unneeded. -- 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

[Bug 12569] Missing directory errors not ignored

2020-07-21 Thread just subscribed for rsync-qa from bugzilla via rsync
https://bugzilla.samba.org/show_bug.cgi?id=12569 --- Comment #20 from Wayne Davison --- Oops, I missed the "ls" at the end. I'll give it a look. -- 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

[Bug 12569] Missing directory errors not ignored

2020-07-21 Thread just subscribed for rsync-qa from bugzilla via rsync
https://bugzilla.samba.org/show_bug.cgi?id=12569 --- Comment #19 from Wayne Davison --- What in that sequence of events are you claiming is a bug? -- 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

Re: Syncing from two sources to one target and deleting files not in either source

2020-07-21 Thread Joe via rsync
If there isn't a huge list of files, you could use a bash script: use ls or find to create a list of files on server 1 followed by a list of files on server 2 run it through sort -u to eliminate duplicates use ls or find to make a list of files on server 3 use diff to get lines only in server 3

Syncing from two sources to one target and deleting files not in either source

2020-07-21 Thread @lbutlr via rsync
Given three servers where Server 1 has several GB of files and Server 2 has several GB of files and Server 3 has all the files from both Server 1 and Server 2 in a single directory, how can I remove files on Server 3 that do not exist on either Server 1 or Server 2? For example, it's say

[Bug 12569] Missing directory errors not ignored

2020-07-21 Thread just subscribed for rsync-qa from bugzilla via rsync
https://bugzilla.samba.org/show_bug.cgi?id=12569 --- Comment #17 from Marc Krämer --- tested release 3.2.2 bug is still present: $ cd /tmp $ mkdir x y $ mkdir -p x/test17/21/ff/zz $ echo "/test17/21/ff/zz /test17/21/ff /test17/21 /test17 " > input.txt $ cd y $ rsync --no-r -ltpDcuhROHigoz

[Bug 12569] Missing directory errors not ignored

2020-07-21 Thread just subscribed for rsync-qa from bugzilla via rsync
https://bugzilla.samba.org/show_bug.cgi?id=12569 --- Comment #18 from Marc Krämer --- tested release 3.2.2 bug is still present: $ cd /tmp $ mkdir x y $ mkdir -p x/test17/21/ff/zz $ echo "/test17/21/ff/zz /test17/21/ff /test17/21 /test17 " > input.txt $ cd y $ rsync --no-r -ltpDcuhROHigoz

[Bug 12569] Missing directory errors not ignored

2020-07-21 Thread just subscribed for rsync-qa from bugzilla via rsync
https://bugzilla.samba.org/show_bug.cgi?id=12569 --- Comment #16 from Marc Krämer --- I'm not sure if this is still the same issue. If the directory vanishes before transfer, e.g. issuing the command: rsync -e ssh -d --no-r -ltpDcuhROHigoz --exclude /.sfs.conf --exclude /.sfs.mounted