rsync -r -t -p -o -g -v --progress --delete --delete-excluded -l omaduck:/home/backup/ /media/NEXSTAR/Backup >>${LOG} ERROR="${?}" if [ "${ERROR}" != "0" ]; then if [ "${ERROR}" != "11" ]; then if [ "${ERROR}" != "23" ]; then notify-send -t ${INTERVAL}000 -i ${ICON} -c ${TYPE} "Rsync failed!" "Rsync of BACKUP on OMADUCK failed. Please check the log file for more information!" fi fi fi