Fichier supprim és entre temps
Wayne Davison
wayned at samba.org
Thu Jul 7 17:21:59 GMT 2005
On Wed, Jul 06, 2005 at 04:20:51PM +0200, Philippe BEAU wrote:
> Is it possible to have the backup marked right even if somes files vanished ?
You simply need to tell the caller of rsync that an exit code of 24 is
OK. If the backup program doesn't have a way to specify this, you could
use a shell-script wrapper to perform this function:
#!/bin/sh
rsync "$@"
e=$?
if test $e = 24; then
exit 0
fi
exit $e
Then, use the name of that script instead of "rsync" as your backup
program.
..wayne..
More information about the rsync
mailing list