rsync --compare-dest creates all dirs and symlinks

Dirk Schenkewitz schenkewitz at docomolab-euro.com
Wed Oct 19 09:59:51 GMT 2005


Hi Wayne,

Wayne Davison wrote:
> On Tue, Oct 18, 2005 at 08:07:56PM +0200, Dirk Schenkewitz wrote:
> 
>>What happens is that rsync creates the whole tree of directories below
>>/data/A/gany.1/lib and also created all symlinks within that tree.
> 
> 
> Yes, that's the way rsync currently works.  I'm considering making
> --compare-dest and --link-dest affect symlinks and devices, but it only
> affects regular files at the moment.

Ok. Good to know that progress is planned/considered :)

> As for all the directories, it would take some kind of a lazy dir-
> creation option to avoid creating directories that were not needed to
> hold the non-directory content.

Exactly.

> I think that would be fairly easy to create, but no one has coded it
> up yet.
> 
> ..wayne..

I would like to help but I'm too busy :( Thanks a lot for the info.

Still, I wonder what I can do in the meantime... Suggestions, anyone?

Have fun
   Dirk



More information about the rsync mailing list