Hello,
        I need to do a hack into rsync code ---
suppose I am rsyncing two dirs

A  <=> B

A
|----a
|----b -> link1
|----c -> link2
|----junk


B
|----a
|----c -> link3
|----b -> ./site_local/b
|----site_local/

what I need is - after running - 
$> rsync -avz --exclude="site_local" --delete A/ B/

link "b" should not change, but link "c" should

The idea is to preserve all links in receiving area that are pointing to
"site_local"

I tried with some hacks in flist.c and exclude.c, but no success.

Would be great if you give some help.


Thanks, 
Ankur 
_________________ 
Ankur Chaplot 
Desing Automation Engineer 
Intel(r) Technologies India Pvt. Ltd. 
136, Airport Road, Bangalore 5600017 
^-^ Direct: 91 80 25076517 
      iNet: 8-465-6517 



--
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to