--compare-dest= dir list ?

Paul Slootman paul+rsync at wurtel.net
Fri Jun 12 14:49:29 GMT 2009


On Fri 12 Jun 2009, Pierre-Vincent Ledoux wrote:

> for i in $LIST; do
>        COMPAREDIR="$COMPAREDIR/mnt/bckhd01/ns200176.ovh.net/$i "
> done
>
> OPTS="--verbose --progress --archive --hard-links --ignore-errors  
> --delete-excluded --exclude-from=$EXCLUDES --delete --force  
> --backup-dir=$BACKUPDIR --compare-dest=\"$COMPAREDIR\" --log-file=$LOG"

Try adding --compare-dest= for each directory...
Now you're passing one directory with spaces in its path (which can't be
found). Even with just one item in $LIST you're telling rsync to look
for a directory with a space at the end of its path, which probably
doesn't exist.


Paul


More information about the rsync mailing list