%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/share/doc/rsync-3.1.2/support/
Upload File :
Create Path :
Current File : //usr/share/doc/rsync-3.1.2/support/rsync-no-vanished

#!/bin/bash

IGNOREEXIT=24
IGNOREOUT='^(file has vanished: |rsync warning: some files vanished before they could be transferred)'

set -o pipefail

rsync "${@}" 2>&1 | (egrep -v "$IGNOREOUT" || true)
ret=$?

if [[ $ret == $IGNOREEXIT ]]; then
    ret=0
fi

exit $ret

Zerion Mini Shell 1.0