This is a solution listed on the rsync FAQ page : http://www.samba.org/rsync/FAQ.html
ignore “vanished files” warning Some folks would like to ignore the “vanished files” warning, which manifests as an exit-code 24. The easiest way to do this is to create a shell script wrapper. For instance, name this something like “rsync-no24”:
#!/bin/sh rsync "$@" e=$? if test $e = 24; then exit 0 fi exit $e
If you decide to use this rsync wrapper script, then please keep in mind that in some circumstances this warning may be useful.