> > I'd like to use -L where I used -l so all the rsync'ed sym-/hardliks get
> > replaced with the file the links actually pointing to.
> >
> > How does rsync handle this situation? A full download isn't necessary
> > since the file is already there. Do I have to do the replacement (move)
> > myself or does rsync handle it?
> 
> Rsync will give you the correct result, but it will do a full download.
> 
so there is no optimization for this. It would have been perfect if
rsync would have detected this (of course very special) case. Well than
I will first do the movement myself.

> > What about the other way around, if a file is replaced by its link?
> 
> Rsync will just delete the file and replace it with a link.
> 
Not very elegant, even if this is rsync's main task. Isn't there a
option to prevent this impicit deletion.?

> > PS. Does -aL really use -L or does it stick with -l from the -a?
> 
> It uses the -L.
> 
Thank you

O. Wyss

Reply via email to