From: Martin Pool Date: Mon, 11 Mar 2002 00:36:47 +0000 (+0000) Subject: More merges into SGML. X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/ec14031abd6eaa4268559cf605fc754271c0e36f More merges into SGML. --- diff --git a/doc/rsync.sgml b/doc/rsync.sgml index 48f34144..851ba9bc 100644 --- a/doc/rsync.sgml +++ b/doc/rsync.sgml @@ -94,23 +94,111 @@ The most commonly used arguments for rsync are - + + + + + Be verbose. Primarily, display the name of each file as it is copied. + + + + + + + + + + + + + + Compress network traffic, using a modified version of the + @command{zlib} library. + + + Display a progress indicator while files are transferred. This should + normally be ommitted if rsync is not run on a terminal. + + + + + + +
+ Local and remote + + There are six different ways of using rsync. They + are: + + + + + + + + for copying local files. This is invoked when neither + source nor destination path contains a @code{:} separator + + + + for copying from the local machine to a remote machine using + a remote shell program as the transport (such as rsh or + ssh). This is invoked when the destination path contains a + single @code{:} separator. + + + + for copying from a remote machine to the local machine + using a remote shell program. This is invoked when the source + contains a @code{:} separator. + + + + for copying from a remote rsync server to the local + machine. This is invoked when the source path contains a @code{::} + separator or a @code{rsync://} URL. + + + + for copying from the local machine to a remote rsync + server. This is invoked when the destination path contains a @code{::} + separator. + + + + for listing files on a remote machine. This is done the + same way as rsync transfers except that you leave off the + local destination. + + + + +Note that in all cases (other than listing) at least one of the source +and destination paths must be local. + + +Any one invocation of rsync makes a copy in a single direction. rsync +currently has no equivalent of @command{ftp}'s interactive mode. + +@cindex @sc{nfs} +@cindex network filesystems +@cindex remote filesystems + + +rsync's network protocol is generally faster at copying files than +network filesystems such as @sc{nfs} or @sc{cifs}. It is better to +run rsync on the file server either as a daemon or over ssh than +running rsync giving the network directory. +
\ No newline at end of file