--suffix-dels unknown option on in rsync 3.0.0.

Matt McCutchen matt at mattmccutchen.net
Wed Feb 6 17:06:01 GMT 2008


On Wed, 2008-02-06 at 17:24 +0100, Olivier Thauvin wrote:
> I am trying to run:
> 
> rsync   --dry-run -avz --force --no-whole-file -e "ssh -C" --delete --bwlimit=35 
> \
>         --backup --exclude "*.backup-*" --exclude "*:*" '--suffix'=.backup-`date 
> +%m%d` \
>         /mnt/unite-c/ heraudet at nanardon.zarb.org:~/unite-c/
> 
> But I get:
> rsync: on remote machine: --suffix-dels=.backup-0206: unknown option
> rsync error: syntax or usage error (code 1) at main.c(1441) [server=3.0.0pre5]
> 
> This behavior appear with:
> - local machine: rsync  version 2.6.6  protocol version 29
> - remote machine: rsync  version 3.0.0pre8  protocol version 30.PR16

The --suffix-dels option is specific to the backup-dir-dels patch.  I
can see how you would get the error if the local rsync contains this
patch and the remote one doesn't.  The patch has a compatibility
problem: if you specify a non-default --suffix to the client, it passes
both --suffix and --suffix-dels to the server, even though they have the
same value.  Get a local rsync that doesn't contain the patch and the
problem should go away.

Matt



More information about the rsync mailing list