Sindbad~EG File Manager

Current Path : /proc/2715199/root/usr/share/doc/rsync/support/
Upload File :
Current File : //proc/2715199/root/usr/share/doc/rsync/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

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists