Return to rsync-no-vanished CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / rsync / support |
1.1 misho 1: #!/bin/bash 2: 3: IGNOREEXIT=24 4: IGNOREOUT='^(file has vanished: |rsync warning: some files vanished before they could be transferred)' 5: 6: set -o pipefail 7: 8: rsync "${@}" 2>&1 | (egrep -v "$IGNOREOUT" || true) 9: ret=$? 10: 11: if [[ $ret == $IGNOREEXIT ]]; then 12: ret=0 13: fi 14: 15: exit $ret