What happens after --max-delete is reached? Are updates processed?

Sebastian Arcus shop at open-t.co.uk
Wed Oct 31 05:17:40 MDT 2012

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.



More information about the rsync mailing list