Hello list,<br><br>Recently, i am using rsync to sync two directories which located in two different hosts.<br><br>There is something unclearly to me. I digged in the web for a while, but there aren't useful things for me.
<br><br>Here is my puzzle:<br>
<br>I want to sync one big directory from one host to a remote host.
And there are several symbolic links which linked to some files and
directories that outside the certain directory. I want to copy the
symbolic links as real file or directory. <br><br>For example:<br><br>The host A:<br><br>-rw-r--r-- 1 wangpenghui wangpenghui 0 2006-11-13 09:14 aa<br>-rw-r--r-- 1 wangpenghui wangpenghui 0 2006-11-13 09:14 ab<br>-rw-r--r-- 1 wangpenghui wangpenghui 0 2006-11-13 09:14 ac
<br>lrwxrwxrwx 1 wangpenghui wangpenghui 6 2006-11-13 09:14 ad -> /tmp/b<br><br>After the syncing, <br><br>The host B should looks like:<br><br> <br>
-rw-r--r-- 1 wangpenghui wangpenghui 0 2006-11-13 09:14 aa<br>
-rw-r--r-- 1 wangpenghui wangpenghui 0 2006-11-13 09:14 ab<br>
-rw-r--r-- 1 wangpenghui wangpenghui 0 2006-11-13 09:14 ac<br>drwxr-xr-x
1 wangpenghui wangpenghui 6 2006-11-13 09:14 ad<br><br>The directory ad should be the real folder of the old /tmp/b<br><br>I have tried some parameters of the command rsync. But no result too.<br clear="all"><br>Every response will be appreciated.
<br><br>Wang,<br clear="all"><br>-- <br>Wang Penghui<br>+86 592 8389 650