Hello,<div><br></div><div>   I'm trying to build a bullet-proof rsync deployment, using rsync  version 3.0.8  protocol version 30, and I'll be using the --delete option. As a way of limiting any catastrophic losses I'm thinking about using --max-delete. I have a couple of questions:</div>
<div><br></div><div>- If the maximum number of deletions occurs, will rsync keep chugging away, copying over files to my destination, </div><div>but just not delete any further? In that way, perfectly legitimate rync commands will work to completion, only they will just stop deleting excess files.</div>
<div><br></div><div>- Does the deletion occur in a depth-first fashion? So if we have top level folders</div><div>top/a/</div><div>top/b/</div><div>top/c/</div><div>and we have a runaway deletion, begining at  top/, will it first delete everything in top/a, then top/b. etc. until it hits the max-delete number?</div>
<div><br></div><div>I have other measures in place to make sure none of this happens. I just wanted to understand the worst-case scenario.</div><div><br></div><div><br></div><div><br>-- <br>"Speech, not just for humans"<br>
<br><a href="http://www.google.com/profiles/egilchri" target="_blank">http://www.google.com/profiles/egilchri</a><br><div><span style="font-family:arial, sans-serif;font-size:13px;border-collapse:collapse"><a href="http://about.me/" style="color:rgb(20, 125, 186)" target="_blank">about.me/</a><span style="font-weight:bold">ted.gilchrist</span></span></div>
<br>
</div>