--compare-dest= dir list ?

Pierre-Vincent Ledoux pvledoux at eyecone.com
Fri Jun 12 16:19:15 GMT 2009


It seems working, thanks for your help !


regards,

Pv

Paul Slootman wrote:
> 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