On 31/10/12 11:38, Voelker, Bernhard wrote:
Sebastian Arcus wrote (Wednesday, October 31, 2012 12:18 PM):
Reading the manual page: "This tells rsync not to delete more than NUM
files or directories." Also, according to docs, rsync exits with code 25
if max-delete has been reached. Now, rsync starts with the deletes by
default, and then it does updates.
My question is, if --max-delete has been reached, does rsync still
proceed with the updates (not the deletes), or just exists immediately
with code 25 without doing any updates? The man page doesn't specify
either way, and looking at online posts, it would seem to suggest it
exits as soon as max-delete has been reached.
From trying, I'd say it continues with updating
(for whatever case that would make sense ...):
Thanks Bernhard. I really think the manual should be more explicit on
this. The way it stands now, people are free to assume either way - with
potentially unpleasant and unexpected consequences. I think I will file
a feature request.
Sebastian
--
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