Shivkumar Venkatasubrahmanyam wrote:



... then without -f 'R .rp/', dst/.rp is not removed. With -f 'R .rp/', it is removed but if dst/a is updated then we have the same issue (exit with code 23). This is entirely consistent with your strace i.e. code 23 whenever there are two separate attempts to remove .rp/.

Well, contents of nonexisitng dir, to be precise :)

You can change --delete-delay into --delete-after, and it will work without problems then. Delete pass will be done separately after file transfers, and checking what files to delete will happen after .rp is already gone.


Thanks for all your help :)
Shiv


Np.
--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to