⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rsyncsh.txt

📁 Rsync 3.0.5 source code
💻 TXT
字号:
rsyncshCopyright (C) 2001 by Martin PoolThis is a quick hack to build an interactive shell around rsync, thesame way we have the ftp, lftp and ncftp programs for the FTPprotocol.  The key application for this is connecting to a publicrsync server, such as rsync.kernel.org, change down through and listdirectories, and finally pull down the file you want.rsync is somewhat ill-at-ease as an interactive operation, since everynetwork connection is used to carry out exactly one operation.  rsynckind of "forks across the network" passing the options and filenamesto operate upon, and the connection is closed when the transfer iscomplete.  (This might be fixed in the future, either by adapting thecurrent protocol to allow chained operations over a single socket, orby writing a new protocol that better supports interactive use.)So, rsyncsh runs a new rsync command and opens a new socket for every(network-based) command you type.This has two consequences.  Firstly, there is more command latencythan is really desirable.  More seriously, if the connection cannot bedone automatically, because for example it uses SSH with a password,then you will need to enter the password every time.  We might evenfix this in the future, though, by having a way to automatically feedthe password to SSH if it's entered once.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -