Hello, list

Rsync is a amazing tools for files and directories syncing.

There is something unclearly to me. I digged in the web for a while, but there aren't useful things for me.

Here is my puzzle:

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.

For example:

The host A:

-rw-r--r-- 1 wangpenghui wangpenghui 0 2006-11-13 09:14 aa
-rw-r--r-- 1 wangpenghui wangpenghui 0 2006-11-13 09:14 ab
-rw-r--r-- 1 wangpenghui wangpenghui 0 2006-11-13 09:14 ac
lrwxrwxrwx 1 wangpenghui wangpenghui 6 2006-11-13 09:14 ad -> /tmp/b

After the syncing,

The host B should looks like:

 
-rw-r--r-- 1 wangpenghui wangpenghui 0 2006-11-13 09:14 aa
-rw-r--r-- 1 wangpenghui wangpenghui 0 2006-11-13 09:14 ab
-rw-r--r-- 1 wangpenghui wangpenghui 0 2006-11-13 09:14 ac
drwxr-xr-x  1 wangpenghui wangpenghui 6 2006-11-13 09:14 ad

The directory ad should be the real folder of the old /tmp/b

I have tried some parameters of the command rsync. But no result too.

Every response will be appreciated.

Wang,

--
Wang Penghui
+86 592 8389 650
-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to