二、連接Rsync Daemon服務(wù)
Rsync通常使用Tcp 873端口:
rsync -av targethost1::module/src/ /dest/
rsync -av rsync:://targethost2/module/src/ /dest/you either use a double colon :: instead of a single colon to separate the hostname from the path, or you use an rsync:// URL.使用雙冒號或者URL的格式連接;
the first word of the "path" is actually a module name. 路徑的第一個詞實際上是模塊名字;
the remote daemon may print a message of the day when you connect.連接遠程Daemon,客戶端會打印連接的時間
if you specify no path name on the remote daemon then the list of accessible paths on the daemon will be shown. 如果沒有指定遠程daemon服務(wù)的路徑名稱,那么將列出所有daemon上允許進入的路徑;
if you specify no local destination then a listing of the specified files on the remote daemon is provided.
you must not specify the --rsh (-e) option.如果沒有指定本地的目的路徑,那么將列出請求的daemon服務(wù)路徑上的文件;
![]() |
![]() | ![]() .. 定價:¥45 優(yōu)惠價:¥42 更多書籍 |
![]() | ![]() .. 定價:¥225 優(yōu)惠價:¥213 更多書籍 |