Fichier supprim és entre temps
Philippe BEAU
philippe at beau.nom.fr
Thu Jul 7 20:01:40 GMT 2005
Thanks for your replay, i found this too ;)
Best regards
Philippe
ps : your wrapper is a good idea ;)
> 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