rsync works when pulling from the remote machine to the local.
it doesn't work when pushing from local to remote it gives an error
about --max-delete=100000 is unrecognizable. It will give the error even
when the --max-delete option is not used.
You've got an older version of rsync running
on the receiving end that doesn't support that option.
*** This bug has been marked as a duplicate of 9949 ***