rsync new feature addition

Chaplot, Ankur ankur.chaplot at intel.com
Wed Apr 7 11:28:31 GMT 2004


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 





More information about the rsync mailing list