#!/bin/bash
export i=0
false
while [ $? -ne 0 ] && [ $i -lt 10 ]
do
	export i=$[ $i + 1 ]
	rsync -razPy -e ssh --timeout=5 $@
done
