components/rsync/patches/rsync.1.patch
author Lukas Rovensky <Lukas.Rovensky@oracle.com>
Thu, 16 Apr 2015 04:52:37 -0700
branchs11-update
changeset 4255 3c054cb83142
parent 3071 b3248af1296a
child 5303 0f5e16a0a75d
permissions -rw-r--r--
20524211 update rsync to 3.1.1 19495794 too aggressive keep-alive messages causing a problem for older rsync
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
     1
Remove groffisms from the man page.  This changes "\(dq" to a double-quote
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
     2
character ("), "\(cq" to a single-quote character ('), and eliminates the
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
     3
use of "\&" except where it's needed at the beginning of the line.
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
     4
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
     5
--- rsync-3.1.1/rsync.1.orig	2014-06-22 10:09:56.000000000 -0700
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
     6
+++ rsync-3.1.1/rsync.1	2014-08-27 11:28:09.672311426 -0700
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
     7
@@ -35,11 +35,11 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
     8
 destination.  Rsync is widely used for backups and mirroring and as an
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
     9
 improved copy command for everyday use.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    10
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    11
-Rsync finds files that need to be transferred using a \(dq\&quick check\(dq\&
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
    12
+Rsync finds files that need to be transferred using a "quick check"
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    13
 algorithm (by default) that looks for files that have changed in size or
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
    14
 in last\-modified time.  Any changes in the other preserved attributes (as
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    15
 requested by options) are made on the destination file directly when the
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    16
-quick check indicates that the file\(cq\&s data does not need to be updated.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    17
+quick check indicates that the file's data does not need to be updated.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    18
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    19
 Some of the additional features of rsync are:
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    20
 .PP 
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
    21
@@ -73,17 +73,17 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    22
 a host specification.  Contacting an rsync daemon directly happens when the
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    23
 source or destination path contains a double colon (::) separator after a
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    24
 host specification, OR when an rsync:// URL is specified (see also the
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    25
-\(dq\&USING RSYNC\-DAEMON FEATURES VIA A REMOTE\-SHELL CONNECTION\(dq\& section for
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
    26
+"USING RSYNC\-DAEMON FEATURES VIA A REMOTE\-SHELL CONNECTION" section for
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    27
 an exception to this latter rule).
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    28
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    29
 As a special case, if a single source arg is specified without a
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    30
-destination, the files are listed in an output format similar to \(dq\&ls \-l\(dq\&.
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
    31
+destination, the files are listed in an output format similar to "ls \-l".
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    32
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    33
 As expected, if neither the source or destination path specify a remote
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    34
 host, the copy occurs locally (see also the \fB\-\-list\-only\fP option).
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    35
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    36
-Rsync refers to the local side as the \(dq\&client\(dq\& and the remote side as the
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    37
-\(dq\&server\(dq\&.  Don\(cq\&t confuse \(dq\&server\(dq\& with an rsync daemon \-\- a daemon is always a
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
    38
+Rsync refers to the local side as the "client" and the remote side as the
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
    39
+"server".  Don't confuse "server" with an rsync daemon \-\- a daemon is always a
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
    40
 server, but a server can be either a daemon or a remote\-shell spawned process.
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    41
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    42
 .SH "SETUP"
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
    43
@@ -132,7 +132,7 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    44
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    45
 This would recursively transfer all files from the directory src/bar on the
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    46
 machine foo into the /data/tmp/bar directory on the local machine. The
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    47
-files are transferred in \(dq\&archive\(dq\& mode, which ensures that symbolic
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
    48
+files are transferred in "archive" mode, which ensures that symbolic
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    49
 links, devices, attributes, permissions, ownerships, etc. are preserved
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    50
 in the transfer.  Additionally, compression will be used to reduce the
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    51
 size of data portions of the transfer.
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
    52
@@ -144,8 +144,8 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    53
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    54
 A trailing slash on the source changes this behavior to avoid creating an
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    55
 additional directory level at the destination.  You can think of a trailing
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    56
-/ on a source as meaning \(dq\&copy the contents of this directory\(dq\& as opposed
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    57
-to \(dq\&copy the directory by name\(dq\&, but in both cases the attributes of the
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
    58
+/ on a source as meaning "copy the contents of this directory" as opposed
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
    59
+to "copy the directory by name", but in both cases the attributes of the
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    60
 containing directory are transferred to the containing directory on the
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    61
 destination.  In other words, each of the following commands copies the
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    62
 files in the same way, including their setting of the attributes of
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
    63
@@ -159,9 +159,9 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    64
 .RE
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    65
 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    66
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    67
-Note also that host and module references don\(cq\&t require a trailing slash to
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    68
+Note also that host and module references don't require a trailing slash to
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    69
 copy the contents of the default directory.  For example, both of these
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    70
-copy the remote directory\(cq\&s contents into \(dq\&/dest\(dq\&:
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
    71
+copy the remote directory's contents into "/dest":
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    72
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    73
 .RS 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    74
 \f(CWrsync \-av host: /dest\fP
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
    75
@@ -172,7 +172,7 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    76
 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    77
 .PP 
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
    78
 You can also use rsync in local\-only mode, where both the source and
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    79
-destination don\(cq\&t have a \(cq\&:\(cq\& in the name. In this case it behaves like
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
    80
+destination don't have a ':' in the name. In this case it behaves like
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    81
 an improved copy command.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    82
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    83
 Finally, you can list all the (listable) modules available from a
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
    84
@@ -205,9 +205,9 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    85
 examples:
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    86
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    87
 .RS 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    88
-\f(CWrsync \-av host:'\&dir1/file1 dir2/file2'\& /dest\fP
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    89
+\f(CWrsync \-av host:'dir1/file1 dir2/file2' /dest\fP
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    90
 .br 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    91
-\f(CWrsync host::'\&modname/dir1/file1 modname/dir2/file2'\& /dest\fP
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    92
+\f(CWrsync host::'modname/dir1/file1 modname/dir2/file2' /dest\fP
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    93
 .RE
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    94
 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    95
 .PP 
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
    96
@@ -215,12 +215,12 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    97
 not as easy to use as the first method.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    98
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
    99
 If you need to transfer a filename that contains whitespace, you can either
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   100
-specify the \fB\-\-protect\-args\fP (\fB\-s\fP) option, or you\(cq\&ll need to escape
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   101
+specify the \fB\-\-protect\-args\fP (\fB\-s\fP) option, or you'll need to escape
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   102
 the whitespace in a way that the remote shell will understand.  For
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   103
 instance:
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   104
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   105
 .RS 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   106
-\f(CWrsync \-av host:'\&file\e name\e with\e spaces'\& /dest\fP
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   107
+\f(CWrsync \-av host:'file\e name\e with\e spaces' /dest\fP
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   108
 .RE
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   109
 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   110
 .PP 
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   111
@@ -240,7 +240,7 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   112
 you either use a double colon :: instead of a single colon to
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   113
 separate the hostname from the path, or you use an rsync:// URL.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   114
 .IP o 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   115
-the first word of the \(dq\&path\(dq\& is actually a module name.
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   116
+the first word of the "path" is actually a module name.
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   117
 .IP o 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   118
 the remote daemon may print a message of the day when you
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   119
 connect.
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   120
@@ -254,7 +254,7 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   121
 you must not specify the \fB\-\-rsh\fP (\fB\-e\fP) option.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   122
 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   123
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   124
-An example that copies all the files in a remote module named \(dq\&src\(dq\&:
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   125
+An example that copies all the files in a remote module named "src":
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   126
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   127
 .nf 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   128
     rsync \-av host::src /dest
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   129
@@ -272,18 +272,18 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   130
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   131
 You may establish the connection via a web proxy by setting the
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   132
 environment variable RSYNC_PROXY to a hostname:port pair pointing to
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   133
-your web proxy.  Note that your web proxy\(cq\&s configuration must support
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   134
+your web proxy.  Note that your web proxy's configuration must support
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   135
 proxy connections to port 873.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   136
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   137
 You may also establish a daemon connection using a program as a proxy by
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   138
 setting the environment variable RSYNC_CONNECT_PROG to the commands you
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   139
 wish to run in place of making a direct socket connection.  The string may
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   140
-contain the escape \(dq\&%H\(dq\& to represent the hostname specified in the rsync
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   141
-command (so use \(dq\&%%\(dq\& if you need a single \(dq\&%\(dq\& in your string).  For
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   142
+contain the escape "%H" to represent the hostname specified in the rsync
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   143
+command (so use "%%" if you need a single "%" in your string).  For
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   144
 example:
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   145
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   146
 .nf 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   147
-  export RSYNC_CONNECT_PROG='\&ssh proxyhost nc %H 873'\&
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   148
+  export RSYNC_CONNECT_PROG='ssh proxyhost nc %H 873'
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   149
   rsync \-av targethost1::module/src/ /dest/
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   150
   rsync \-av rsync:://targethost2/module/src/ /dest/ 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   151
 .fi 
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   152
@@ -300,16 +300,16 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   153
 named modules) without actually allowing any new socket connections into a
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   154
 system (other than what is already required to allow remote\-shell access).
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   155
 Rsync supports connecting to a host using a remote shell and then spawning
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   156
-a single\-use \(dq\&daemon\(dq\& server that expects to read its config file in the
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   157
+a single\-use "daemon" server that expects to read its config file in the
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   158
 home dir of the remote user.  This can be useful if you want to encrypt a
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   159
-daemon\-style transfer\(cq\&s data, but since the daemon is started up fresh by
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   160
+daemon\-style transfer's data, but since the daemon is started up fresh by
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   161
 the remote user, you may not be able to use features such as chroot or
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   162
 change the uid used by the daemon.  (For another way to encrypt a daemon
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   163
 transfer, consider using ssh to tunnel a local port to a remote machine and
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   164
 configure a normal rsync daemon on that remote host to only allow
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   165
-connections from \(dq\&localhost\(dq\&.)
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   166
+connections from "localhost".)
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   167
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   168
-From the user\(cq\&s perspective, a daemon transfer via a remote\-shell
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   169
+From the user's perspective, a daemon transfer via a remote\-shell
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   170
 connection uses nearly the same command\-line syntax as a normal
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   171
 rsync\-daemon transfer, with the only exception being that you must
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   172
 explicitly set the remote shell program on the command\-line with the
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   173
@@ -324,20 +324,24 @@
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   174
 If you need to specify a different remote\-shell user, keep in mind that the
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   175
 user@ prefix in front of the host is specifying the rsync\-user value (for a
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   176
 module that requires user\-based authentication).  This means that you must
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   177
-give the \(cq\&\-l user\(cq\& option to ssh when specifying the remote\-shell, as in
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   178
+give the '\-l user' option to ssh when specifying the remote\-shell, as in
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   179
 this example that uses the short version of the \fB\-\-rsh\fP option:
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   180
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   181
 .nf 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   182
-    rsync \-av \-e \(dq\&ssh \-l ssh\-user\(dq\& rsync\-user@host::module /dest
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   183
+    rsync \-av \-e "ssh \-l ssh\-user" rsync\-user@host::module /dest
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   184
 .fi 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   185
 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   186
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   187
-The \(dq\&ssh\-user\(dq\& will be used at the ssh level; the \(dq\&rsync\-user\(dq\& will be
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   188
-used to log\-in to the \(dq\&module\(dq\&.
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   189
+The "ssh\-user" will be used at the ssh level; the "rsync\-user" will be
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   190
+used to log\-in to the "module".
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   191
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   192
 .SH "STARTING AN RSYNC DAEMON TO ACCEPT CONNECTIONS"
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   193
 
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   194
 .PP 
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   195
+WARNING: Daemon mode does not participate in the core Solaris security
2708
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   196
+policies, including Authentication, limit of privileges, Audit and Audit
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   197
+of any subprocessing.
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   198
+.PP 
2708
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   199
 In order to connect to an rsync daemon, the remote system needs to have a
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   200
 daemon already running (or it needs to have configured something like inetd
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   201
 to spawn an rsync daemon for incoming connections on a particular port).
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   202
@@ -346,7 +350,7 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   203
 file for the daemon, and it contains the full details for how to run the
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   204
 daemon (including stand\-alone and inetd configurations).
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   205
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   206
-If you\(cq\&re using one of the remote\-shell transports for the transfer, there is
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   207
+If you're using one of the remote\-shell transports for the transfer, there is
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   208
 no need to manually start an rsync daemon.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   209
 .PP 
2708
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   210
 .SH "SORTED TRANSFER ORDER"
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   211
@@ -360,7 +364,7 @@
2708
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   212
 .PP 
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   213
 If you need a particular file to be transferred prior to another, either
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   214
 separate the files into different rsync calls, or consider using
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   215
-\fB\-\-delay\-updates\fP (which doesn\(cq\&t affect the sorted transfer order, but
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   216
+\fB\-\-delay\-updates\fP (which doesn't affect the sorted transfer order, but
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   217
 does make the final file\-updating phase happen much more rapidly).
2708
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   218
 .PP 
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   219
 .SH "EXAMPLES"
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   220
@@ -368,7 +372,7 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   221
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   222
 Here are some examples of how I use rsync.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   223
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   224
-To backup my wife\(cq\&s home directory, which consists of large MS Word
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   225
+To backup my wife's home directory, which consists of large MS Word
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   226
 files and mail folders, I use a cron job that runs
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   227
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   228
 .RS 
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   229
@@ -377,14 +381,14 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   230
 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   231
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   232
 each night over a PPP connection to a duplicate directory on my machine
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   233
-\(dq\&arvidsjaur\(dq\&.
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   234
+"arvidsjaur".
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   235
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   236
 To synchronize my samba source trees I use the following Makefile
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   237
 targets:
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   238
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   239
 .nf 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   240
     get:
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   241
-            rsync \-avuzb \-\-exclude '\&*~'\& samba:samba/ .
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   242
+            rsync \-avuzb \-\-exclude '*~' samba:samba/ .
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   243
     put:
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   244
             rsync \-Cavuzb . samba:samba/
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   245
     sync: get put
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   246
@@ -393,12 +397,12 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   247
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   248
 this allows me to sync with a CVS directory at the other end of the
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   249
 connection. I then do CVS operations on the remote machine, which saves a
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   250
-lot of time as the remote CVS protocol isn\(cq\&t very efficient.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   251
+lot of time as the remote CVS protocol isn't very efficient.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   252
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   253
-I mirror a directory between my \(dq\&old\(dq\& and \(dq\&new\(dq\& ftp sites with the
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   254
+I mirror a directory between my "old" and "new" ftp sites with the
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   255
 command:
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   256
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   257
-\f(CWrsync \-az \-e ssh \-\-delete ~ftp/pub/samba nimbus:\(dq\&~ftp/pub/tridge\(dq\&\fP
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   258
+\f(CWrsync \-az \-e ssh \-\-delete ~ftp/pub/samba nimbus:"~ftp/pub/tridge"\fP
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   259
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   260
 This is launched from cron every few hours.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   261
 .PP 
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   262
@@ -420,7 +424,7 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   263
      \-\-no\-OPTION             turn off an implied OPTION (e.g. \-\-no\-D)
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   264
  \-r, \-\-recursive             recurse into directories
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   265
  \-R, \-\-relative              use relative path names
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   266
-     \-\-no\-implied\-dirs       don'\&t send implied dirs with \-\-relative
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   267
+     \-\-no\-implied\-dirs       don't send implied dirs with \-\-relative
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   268
  \-b, \-\-backup                make backups (see \-\-suffix & \-\-backup\-dir)
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   269
      \-\-backup\-dir=DIR        make backups into hierarchy based in DIR
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   270
      \-\-suffix=SUFFIX         backup suffix (default ~ w/o \-\-backup\-dir)
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   271
@@ -431,7 +435,7 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   272
  \-d, \-\-dirs                  transfer directories without recursing
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   273
  \-l, \-\-links                 copy symlinks as symlinks
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   274
  \-L, \-\-copy\-links            transform symlink into referent file/dir
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   275
-     \-\-copy\-unsafe\-links     only \(dq\&unsafe\(dq\& symlinks are transformed
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   276
+     \-\-copy\-unsafe\-links     only "unsafe" symlinks are transformed
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   277
      \-\-safe\-links            ignore symlinks that point outside the tree
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   278
      \-\-munge\-links           munge symlinks to make them safer
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   279
  \-k, \-\-copy\-dirlinks         transform symlink to dir into referent dir
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   280
@@ -456,7 +460,7 @@
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   281
      \-\-preallocate           allocate dest files before writing
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   282
  \-n, \-\-dry\-run               perform a trial run with no changes made
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   283
  \-W, \-\-whole\-file            copy files whole (w/o delta\-xfer algorithm)
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   284
- \-x, \-\-one\-file\-system       don'\&t cross filesystem boundaries
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   285
+ \-x, \-\-one\-file\-system       don't cross filesystem boundaries
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   286
  \-B, \-\-block\-size=SIZE       force a fixed checksum block\-size
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   287
  \-e, \-\-rsh=COMMAND           specify the remote shell to use
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   288
      \-\-rsync\-path=PROGRAM    specify the rsync to run on remote machine
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   289
@@ -474,20 +478,20 @@
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   290
      \-\-delete\-missing\-args   delete missing source args from destination
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   291
      \-\-ignore\-errors         delete even if there are I/O errors
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   292
      \-\-force                 force deletion of dirs even if not empty
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   293
-     \-\-max\-delete=NUM        don'\&t delete more than NUM files
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   294
-     \-\-max\-size=SIZE         don'\&t transfer any file larger than SIZE
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   295
-     \-\-min\-size=SIZE         don'\&t transfer any file smaller than SIZE
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   296
+     \-\-max\-delete=NUM        don't delete more than NUM files
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   297
+     \-\-max\-size=SIZE         don't transfer any file larger than SIZE
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   298
+     \-\-min\-size=SIZE         don't transfer any file smaller than SIZE
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   299
      \-\-partial               keep partially transferred files
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   300
      \-\-partial\-dir=DIR       put a partially transferred file into DIR
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   301
      \-\-delay\-updates         put all updated files into place at end
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   302
  \-m, \-\-prune\-empty\-dirs      prune empty directory chains from file\-list
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   303
-     \-\-numeric\-ids           don'\&t map uid/gid values by user/group name
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   304
+     \-\-numeric\-ids           don't map uid/gid values by user/group name
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   305
      \-\-usermap=STRING        custom username mapping
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   306
      \-\-groupmap=STRING       custom groupname mapping
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   307
      \-\-chown=USER:GROUP      simple username/groupname mapping
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   308
      \-\-timeout=SECONDS       set I/O timeout in seconds
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   309
      \-\-contimeout=SECONDS    set daemon connection timeout in seconds
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   310
- \-I, \-\-ignore\-times          don'\&t skip files that match size and time
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   311
+ \-I, \-\-ignore\-times          don't skip files that match size and time
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   312
      \-\-size\-only             skip files that match in size
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   313
      \-\-modify\-window=NUM     compare mod\-times with reduced accuracy
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   314
  \-T, \-\-temp\-dir=DIR          create temporary files in directory DIR
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   315
@@ -500,11 +504,11 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   316
      \-\-skip\-compress=LIST    skip compressing files with suffix in LIST
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   317
  \-C, \-\-cvs\-exclude           auto\-ignore files in the same way CVS does
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   318
  \-f, \-\-filter=RULE           add a file\-filtering RULE
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   319
- \-F                          same as \-\-filter='\&dir\-merge /.rsync\-filter'\&
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   320
-                             repeated: \-\-filter='\&\- .rsync\-filter'\&
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   321
+ \-F                          same as \-\-filter='dir\-merge /.rsync\-filter'
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   322
+                             repeated: \-\-filter='\- .rsync\-filter'
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   323
      \-\-exclude=PATTERN       exclude files matching PATTERN
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   324
      \-\-exclude\-from=FILE     read exclude patterns from FILE
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   325
-     \-\-include=PATTERN       don'\&t exclude files matching PATTERN
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   326
+     \-\-include=PATTERN       don't exclude files matching PATTERN
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   327
      \-\-include\-from=FILE     read include patterns from FILE
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   328
      \-\-files\-from=FILE       read list of source\-file names from FILE
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   329
  \-0, \-\-from0                 all *from/filter files are delimited by 0s
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   330
@@ -522,7 +526,7 @@
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   331
  \-i, \-\-itemize\-changes       output a change\-summary for all updates
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   332
  \-M, \-\-remote\-option=OPTION  send OPTION to the remote side only
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   333
      \-\-out\-format=FORMAT     output updates using the specified FORMAT
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   334
-     \-\-log\-file=FILE         log what we'\&re doing to the specified FILE
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   335
+     \-\-log\-file=FILE         log what we're doing to the specified FILE
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   336
      \-\-log\-file\-format=FMT   log updates using the specified FMT
2708
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   337
      \-\-password\-file=FILE    read daemon\-access password from FILE
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   338
      \-\-list\-only             list the files instead of copying them
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   339
@@ -551,8 +555,8 @@
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   340
  \-M, \-\-dparam=OVERRIDE       override global daemon config parameter
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   341
      \-\-no\-detach             do not detach from the parent
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   342
      \-\-port=PORT             listen on alternate port number
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   343
-     \-\-log\-file=FILE         override the \(dq\&log file\(dq\& setting
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   344
-     \-\-log\-file\-format=FMT   override the \(dq\&log format\(dq\& setting
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   345
+     \-\-log\-file=FILE         override the "log file" setting
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   346
+     \-\-log\-file\-format=FMT   override the "log format" setting
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   347
      \-\-sockopts=OPTIONS      specify custom TCP options
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   348
  \-v, \-\-verbose               increase verbosity
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   349
  \-4, \-\-ipv4                  prefer IPv4
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   350
@@ -570,11 +574,11 @@
2708
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   351
 Some options only have a long variant, not a short.  If the option takes a
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   352
 parameter, the parameter is only listed after the long variant, even though it
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   353
 must also be specified for the short.  When specifying a parameter, you can
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   354
-either use the form \-\-option=param or replace the \(cq\&=\(cq\& with whitespace.  The
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   355
-parameter may need to be quoted in some manner for it to survive the shell\(cq\&s
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   356
+either use the form \-\-option=param or replace the '=' with whitespace.  The
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   357
+parameter may need to be quoted in some manner for it to survive the shell's
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   358
 command\-line parsing.  Keep in mind that a leading tilde (~) in a filename is
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   359
 substituted by your shell, so \-\-option=~/foo will not change the tilde into
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   360
-your home directory (remove the \(cq\&=\(cq\& for that).
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   361
+your home directory (remove the '=' for that).
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   362
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   363
 .IP "\fB\-\-help\fP"
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   364
 Print a short help page describing the options
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   365
@@ -601,11 +605,11 @@
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   366
 \fB\-\-info\fP and \fB\-\-debug\fP have a way to ask for help that tells you
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   367
 exactly what flags are set for each increase in verbosity.
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   368
 .IP 
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   369
-However, do keep in mind that a daemon\(cq\&s \(dq\&max verbosity\(dq\& setting will limit how
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   370
+However, do keep in mind that a daemon's "max verbosity" setting will limit how
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   371
 high of a level the various individual flags can be set on the daemon side.
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   372
 For instance, if the max is 2, then any info and/or debug flag that is set to
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   373
 a higher value than what would be set by \fB\-vv\fP will be downgraded to the
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   374
-\fB\-vv\fP level in the daemon\(cq\&s logging.
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   375
+\fB\-vv\fP level in the daemon's logging.
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   376
 .IP 
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   377
 .IP "\fB\-\-info=FLAGS\fP"
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   378
 This option lets you have fine\-grained control over the
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   379
@@ -624,14 +628,14 @@
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   380
 .fi 
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   381
 
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   382
 .IP 
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   383
-Note that \fB\-\-info=name\fP\(cq\&s output is affected by the \fB\-\-out\-format\fP and
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   384
+Note that \fB\-\-info=name\fP's output is affected by the \fB\-\-out\-format\fP and
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   385
 \fB\-\-itemize\-changes\fP (\fB\-i\fP) options.  See those options for more
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   386
 information on what is output and when.
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   387
 .IP 
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   388
 This option was added to 3.1.0, so an older rsync on the server side might
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   389
 reject your attempts at fine\-grained control (if one or more flags needed
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   390
 to be send to the server and the server was too old to understand them).
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   391
-See also the \(dq\&max verbosity\(dq\& caveat above when dealing with a daemon.
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   392
+See also the "max verbosity" caveat above when dealing with a daemon.
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   393
 .IP 
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   394
 .IP "\fB\-\-debug=FLAGS\fP"
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   395
 This option lets you have fine\-grained control over the debug
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   396
@@ -655,7 +659,7 @@
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   397
 This option was added to 3.1.0, so an older rsync on the server side might
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   398
 reject your attempts at fine\-grained control (if one or more flags needed
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   399
 to be send to the server and the server was too old to understand them).
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   400
-See also the \(dq\&max verbosity\(dq\& caveat above when dealing with a daemon.
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   401
+See also the "max verbosity" caveat above when dealing with a daemon.
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   402
 .IP 
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   403
 .IP "\fB\-\-msgs2stderr\fP"
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   404
 This option changes rsync to send all its output
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   405
@@ -681,18 +685,18 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   406
 This option affects the information that is output
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   407
 by the client at the start of a daemon transfer.  This suppresses the
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   408
 message\-of\-the\-day (MOTD) text, but it also affects the list of modules
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   409
-that the daemon sends in response to the \(dq\&rsync host::\(dq\& request (due to
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   410
+that the daemon sends in response to the "rsync host::" request (due to
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   411
 a limitation in the rsync protocol), so omit this option if you want to
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   412
 request the list of modules from the daemon.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   413
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   414
 .IP "\fB\-I, \-\-ignore\-times\fP"
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   415
 Normally rsync will skip any files that are
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   416
 already the same size and have the same modification timestamp.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   417
-This option turns off this \(dq\&quick check\(dq\& behavior, causing all files to
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   418
+This option turns off this "quick check" behavior, causing all files to
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   419
 be updated.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   420
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   421
 .IP "\fB\-\-size\-only\fP"
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   422
-This modifies rsync\(cq\&s \(dq\&quick check\(dq\& algorithm for
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   423
+This modifies rsync's "quick check" algorithm for
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   424
 finding files that need to be transferred, changing it from the default of
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   425
 transferring files with either a changed size or a changed last\-modified
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   426
 time to just looking for files that have changed in size.  This is useful
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   427
@@ -711,7 +715,7 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   428
 .IP "\fB\-c, \-\-checksum\fP"
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   429
 This changes the way rsync checks if the files have
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   430
 been changed and are in need of a transfer.  Without this option, rsync
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   431
-uses a \(dq\&quick check\(dq\& that (by default) checks if each file\(cq\&s size and time
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   432
+uses a "quick check" that (by default) checks if each file's size and time
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   433
 of last modification match between the sender and receiver.  This option
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   434
 changes this to compare a 128\-bit checksum for each file that has a
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   435
 matching size.  Generating the checksums means that both sides will expend
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   436
@@ -722,14 +726,14 @@
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   437
 The sending side generates its checksums while it is doing the file\-system
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   438
 scan that builds the list of the available files.  The receiver generates
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   439
 its checksums when it is scanning for changed files, and will checksum any
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   440
-file that has the same size as the corresponding sender\(cq\&s file:  files with
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   441
+file that has the same size as the corresponding sender's file:  files with
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   442
 either a changed size or a changed checksum are selected for transfer.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   443
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   444
 Note that rsync always verifies that each \fItransferred\fP file was
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   445
 correctly reconstructed on the receiving side by checking a whole\-file
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   446
 checksum that is generated as the file is transferred, but that
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   447
 automatic after\-the\-transfer verification has nothing to do with this
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   448
-option\(cq\&s before\-the\-transfer \(dq\&Does this file need to be updated?\(dq\& check.
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   449
+option's before\-the\-transfer "Does this file need to be updated?" check.
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   450
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   451
 For protocol 30 and beyond (first supported in 3.0.0), the checksum used is
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   452
 MD5.  For older protocols, the checksum used is MD4.
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   453
@@ -747,14 +751,14 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   454
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   455
 .IP "\-\-no\-OPTION"
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   456
 You may turn off one or more implied options by prefixing
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   457
-the option name with \(dq\&no\-\(dq\&.  Not all options may be prefixed with a \(dq\&no\-\(dq\&:
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   458
+the option name with "no\-".  Not all options may be prefixed with a "no\-":
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   459
 only options that are implied by other options (e.g. \fB\-\-no\-D\fP,
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   460
 \fB\-\-no\-perms\fP) or have different defaults in various circumstances
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   461
 (e.g. \fB\-\-no\-whole\-file\fP, \fB\-\-no\-blocking\-io\fP, \fB\-\-no\-dirs\fP).  You may
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   462
-specify either the short or the long option name after the \(dq\&no\-\(dq\& prefix
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   463
+specify either the short or the long option name after the "no\-" prefix
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   464
 (e.g. \fB\-\-no\-R\fP is the same as \fB\-\-no\-relative\fP).
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   465
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   466
-For example: if you want to use \fB\-a\fP (\fB\-\-archive\fP) but don\(cq\&t want
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   467
+For example: if you want to use \fB\-a\fP (\fB\-\-archive\fP) but don't want
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   468
 \fB\-o\fP (\fB\-\-owner\fP), instead of converting \fB\-a\fP into \fB\-rlptgD\fP, you
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   469
 could specify \fB\-a \-\-no\-o\fP (or \fB\-a \-\-no\-owner\fP).
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   470
 .IP 
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   471
@@ -810,16 +814,16 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   472
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   473
 then a file named /tmp/foo/bar/baz.c would be created on the remote
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   474
 machine, preserving its full path.  These extra path elements are called
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   475
-\(dq\&implied directories\(dq\& (i.e. the \(dq\&foo\(dq\& and the \(dq\&foo/bar\(dq\& directories in the
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   476
+"implied directories" (i.e. the "foo" and the "foo/bar" directories in the
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   477
 above example).
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   478
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   479
 Beginning with rsync 3.0.0, rsync always sends these implied directories as
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   480
 real directories in the file list, even if a path element is really a
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   481
 symlink on the sending side.  This prevents some really unexpected
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   482
-behaviors when copying the full path of a file that you didn\(cq\&t realize had
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   483
+behaviors when copying the full path of a file that you didn't realize had
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   484
 a symlink in its path.  If you want to duplicate a server\-side symlink,
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   485
 include both the symlink via its path, and referent directory via its real
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   486
-path.  If you\(cq\&re dealing with an older rsync on the sending side, you may
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   487
+path.  If you're dealing with an older rsync on the sending side, you may
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   488
 need to use the \fB\-\-no\-implied\-dirs\fP option.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   489
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   490
 It is also possible to limit the amount of path information that is sent as
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   491
@@ -833,7 +837,7 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   492
 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   493
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   494
 That would create /tmp/bar/baz.c on the remote machine.  (Note that the
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   495
-dot must be followed by a slash, so \(dq\&/foo/.\(dq\& would not be abbreviated.)
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   496
+dot must be followed by a slash, so "/foo/." would not be abbreviated.)
2708
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   497
 For older rsync versions, you would need to use a chdir to limit the
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   498
 source path.  For example, when pushing files:
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   499
 .IP 
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   500
@@ -843,12 +847,12 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   501
 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   502
 .IP 
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   503
 (Note that the parens put the two commands into a sub\-shell, so that the
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   504
-\(dq\&cd\(dq\& command doesn\(cq\&t remain in effect for future commands.)
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   505
-If you\(cq\&re pulling files from an older rsync, use this idiom (but only
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   506
+"cd" command doesn't remain in effect for future commands.)
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   507
+If you're pulling files from an older rsync, use this idiom (but only
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   508
 for a non\-daemon transfer):
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   509
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   510
 .RS 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   511
-\f(CW   rsync \-avR \-\-rsync\-path=\(dq\&cd /foo; rsync\(dq\& \e \fP
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   512
+\f(CW   rsync \-avR \-\-rsync\-path="cd /foo; rsync" \e \fP
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   513
 .br 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   514
 \f(CW       remote:bar/baz.c /tmp/\fP
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   515
 .RE
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   516
@@ -865,13 +869,13 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   517
 the receiving side.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   518
 .IP 
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   519
 For instance, if a command\-line arg or a files\-from entry told rsync to
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   520
-transfer the file \(dq\&path/foo/file\(dq\&, the directories \(dq\&path\(dq\& and \(dq\&path/foo\(dq\&
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   521
-are implied when \fB\-\-relative\fP is used.  If \(dq\&path/foo\(dq\& is a symlink to
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   522
-\(dq\&bar\(dq\& on the destination system, the receiving rsync would ordinarily
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   523
-delete \(dq\&path/foo\(dq\&, recreate it as a directory, and receive the file into
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   524
+transfer the file "path/foo/file", the directories "path" and "path/foo"
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   525
+are implied when \fB\-\-relative\fP is used.  If "path/foo" is a symlink to
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   526
+"bar" on the destination system, the receiving rsync would ordinarily
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   527
+delete "path/foo", recreate it as a directory, and receive the file into
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   528
 the new directory.  With \fB\-\-no\-implied\-dirs\fP, the receiving rsync updates
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   529
-\(dq\&path/foo/file\(dq\& using the existing path elements, which means that the file
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   530
-ends up being created in \(dq\&path/bar\(dq\&.  Another way to accomplish this link
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   531
+"path/foo/file" using the existing path elements, which means that the file
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   532
+ends up being created in "path/bar".  Another way to accomplish this link
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   533
 preservation is to use the \fB\-\-keep\-dirlinks\fP option (which will also
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   534
 affect symlinks to directories in the rest of the transfer).
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   535
 .IP 
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   536
@@ -885,15 +889,15 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   537
 backup file goes and what (if any) suffix gets appended using the
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   538
 \fB\-\-backup\-dir\fP and \fB\-\-suffix\fP options.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   539
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   540
-Note that if you don\(cq\&t specify \fB\-\-backup\-dir\fP, (1) the
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   541
+Note that if you don't specify \fB\-\-backup\-dir\fP, (1) the
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   542
 \fB\-\-omit\-dir\-times\fP option will be implied, and (2) if \fB\-\-delete\fP is
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   543
-also in effect (without \fB\-\-delete\-excluded\fP), rsync will add a \(dq\&protect\(dq\&
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   544
+also in effect (without \fB\-\-delete\-excluded\fP), rsync will add a "protect"
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   545
 filter\-rule for the backup suffix to the end of all your existing excludes
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   546
-(e.g. \fB\-f \(dq\&P *~\(dq\&\fP).  This will prevent previously backed\-up files from being
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   547
+(e.g. \fB\-f "P *~"\fP).  This will prevent previously backed\-up files from being
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   548
 deleted.  Note that if you are supplying your own filter rules, you may
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   549
 need to manually insert your own exclude/protect rule somewhere higher up
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   550
 in the list so that it has a high enough priority to be effective (e.g., if
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   551
-your rules specify a trailing inclusion/exclusion of \(cq\&*\(cq\&, the auto\-added
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   552
+your rules specify a trailing inclusion/exclusion of '*', the auto\-added
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   553
 rule would never be reached).
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   554
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   555
 .IP "\fB\-\-backup\-dir=DIR\fP"
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   556
@@ -906,8 +910,8 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   557
 .IP 
2708
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   558
 Note that if you specify a relative path, the backup directory will be
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   559
 relative to the destination directory, so you probably want to specify
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   560
-either an absolute path or a path that starts with \(dq\&../\(dq\&.  If an rsync
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   561
-daemon is the receiver, the backup dir cannot go outside the module\(cq\&s path
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   562
+either an absolute path or a path that starts with "../".  If an rsync
2708
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   563
+daemon is the receiver, the backup dir cannot go outside the module's path
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   564
 hierarchy, so take extra care not to delete it or copy into it.
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   565
 .IP 
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   566
 .IP "\fB\-\-suffix=SUFFIX\fP"
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   567
@@ -919,7 +923,7 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   568
 This forces rsync to skip any files which exist on
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   569
 the destination and have a modified time that is newer than the source
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   570
 file.  (If an existing destination file has a modification time equal to the
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   571
-source file\(cq\&s, it will be updated if the sizes are different.)
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   572
+source file's, it will be updated if the sizes are different.)
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   573
 .IP 
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   574
 Note that this does not affect the copying of dirs, symlinks, or other special
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   575
 files.  Also, a difference of file format between the sender and receiver
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   576
@@ -928,8 +932,8 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   577
 where the destination has a file, the transfer would occur regardless of
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   578
 the timestamps.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   579
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   580
-This option is a transfer rule, not an exclude, so it doesn\(cq\&t affect the
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   581
-data that goes into the file\-lists, and thus it doesn\(cq\&t affect deletions.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   582
+This option is a transfer rule, not an exclude, so it doesn't affect the
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   583
+data that goes into the file\-lists, and thus it doesn't affect deletions.
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   584
 It just limits the files that the receiver requests to be transferred.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   585
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   586
 .IP "\fB\-\-inplace\fP"
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   587
@@ -945,13 +949,13 @@
2708
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   588
 Hard links are not broken.  This means the new data will be visible
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   589
 through other hard links to the destination file.  Moreover, attempts to
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   590
 copy differing source files onto a multiply\-linked destination file will
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   591
-result in a \(dq\&tug of war\(dq\& with the destination data changing back and forth.
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   592
+result in a "tug of war" with the destination data changing back and forth.
2708
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   593
 .IP o 
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   594
 In\-use binaries cannot be updated (either the OS will prevent this from
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   595
 happening, or binaries that attempt to swap\-in their data will misbehave or
2708
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   596
 crash).
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   597
 .IP o 
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   598
-The file\(cq\&s data will be in an inconsistent state during the transfer
2708
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   599
+The file's data will be in an inconsistent state during the transfer
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   600
 and will be left that way if the transfer is interrupted or if an update
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   601
 fails.
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   602
 .IP o 
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   603
@@ -959,7 +963,7 @@
2708
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   604
 can update any file, a normal user needs to be granted write permission for
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   605
 the open of the file for writing to be successful.
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   606
 .IP o 
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   607
-The efficiency of rsync\(cq\&s delta\-transfer algorithm may be reduced if
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   608
+The efficiency of rsync's delta\-transfer algorithm may be reduced if
2708
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   609
 some data in the destination file is overwritten before it can be copied to
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   610
 a position later in the file.  This does not apply if you use \fB\-\-backup\fP,
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   611
 since rsync is smart enough to use the backup file as the basis file for the
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   612
@@ -986,12 +990,12 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   613
 the receiving side is identical with the start of the file on the sending
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   614
 side.  If a file needs to be transferred and its size on the receiver is
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   615
 the same or longer than the size on the sender, the file is skipped.  This
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   616
-does not interfere with the updating of a file\(cq\&s non\-content attributes
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   617
+does not interfere with the updating of a file's non\-content attributes
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   618
 (e.g. permissions, ownership, etc.) when the file does not need to be
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   619
 transferred, nor does it affect the updating of any non\-regular files.
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   620
 Implies \fB\-\-inplace\fP,
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   621
 but does not conflict with \fB\-\-sparse\fP (since it is always extending a
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   622
-file\(cq\&s length).
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   623
+file's length).
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   624
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   625
 .IP "\fB\-\-append\-verify\fP"
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   626
 This works just like the \fB\-\-append\fP option, but
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   627
@@ -1007,21 +1011,21 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   628
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   629
 .IP "\fB\-d, \-\-dirs\fP"
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   630
 Tell the sending side to include any directories that
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   631
-are encountered.  Unlike \fB\-\-recursive\fP, a directory\(cq\&s contents are not copied
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   632
-unless the directory name specified is \(dq\&.\(dq\& or ends with a trailing slash
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   633
-(e.g. \(dq\&.\(dq\&, \(dq\&dir/.\(dq\&, \(dq\&dir/\(dq\&, etc.).  Without this option or the
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   634
+are encountered.  Unlike \fB\-\-recursive\fP, a directory's contents are not copied
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   635
+unless the directory name specified is "." or ends with a trailing slash
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   636
+(e.g. ".", "dir/.", "dir/", etc.).  Without this option or the
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   637
 \fB\-\-recursive\fP option, rsync will skip all directories it encounters (and
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   638
 output a message to that effect for each one).  If you specify both
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   639
 \fB\-\-dirs\fP and \fB\-\-recursive\fP, \fB\-\-recursive\fP takes precedence.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   640
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   641
 The \fB\-\-dirs\fP option is implied by the \fB\-\-files\-from\fP option
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   642
 or the \fB\-\-list\-only\fP option (including an implied
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   643
-\fB\-\-list\-only\fP usage) if \fB\-\-recursive\fP wasn\(cq\&t specified (so that
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   644
+\fB\-\-list\-only\fP usage) if \fB\-\-recursive\fP wasn't specified (so that
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   645
 directories are seen in the listing).  Specify \fB\-\-no\-dirs\fP (or \fB\-\-no\-d\fP)
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   646
 if you want to turn this off.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   647
 .IP 
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   648
 There is also a backward\-compatibility helper option, \fB\-\-old\-dirs\fP (or
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   649
-\fB\-\-old\-d\fP) that tells rsync to use a hack of \(dq\&\-r \-\-exclude=\(cq\&/*/*\(cq\&\(dq\& to get
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   650
+\fB\-\-old\-d\fP) that tells rsync to use a hack of "\-r \-\-exclude='/*/*'" to get
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   651
 an older rsync to list a single directory without recursing.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   652
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   653
 .IP "\fB\-l, \-\-links\fP"
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   654
@@ -1033,7 +1037,7 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   655
 they point to (the referent) is copied, rather than the symlink.  In older
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   656
 versions of rsync, this option also had the side\-effect of telling the
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   657
 receiving side to follow symlinks, such as symlinks to directories.  In a
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   658
-modern rsync such as this one, you\(cq\&ll need to specify \fB\-\-keep\-dirlinks\fP (\fB\-K\fP)
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   659
+modern rsync such as this one, you'll need to specify \fB\-\-keep\-dirlinks\fP (\fB\-K\fP)
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   660
 to get this extra behavior.  The only exception is when sending files to
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   661
 an rsync that is too old to understand \fB\-K\fP \-\- in that case, the \fB\-L\fP option
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   662
 will still have the side\-effect of \fB\-K\fP on that older receiving rsync.
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   663
@@ -1055,11 +1059,11 @@
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   664
 This option tells rsync to (1) modify all symlinks on
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   665
 the receiving side in a way that makes them unusable but recoverable (see
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   666
 below), or (2) to unmunge symlinks on the sending side that had been stored in
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   667
-a munged state.  This is useful if you don\(cq\&t quite trust the source of the data
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   668
+a munged state.  This is useful if you don't quite trust the source of the data
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   669
 to not try to slip in a symlink to a unexpected place.
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   670
 .IP 
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   671
 The way rsync disables the use of symlinks is to prefix each one with the
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   672
-string \(dq\&/rsyncd\-munged/\(dq\&.  This prevents the links from being used as long as
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   673
+string "/rsyncd\-munged/".  This prevents the links from being used as long as
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   674
 that directory does not exist.  When this option is enabled, rsync will refuse
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   675
 to run if that path is a directory or a symlink to a directory.
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   676
 .IP 
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   677
@@ -1068,13 +1072,13 @@
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   678
 transfer, the client side is the sender.)
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   679
 .IP 
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   680
 This option has no affect on a daemon, since the daemon configures whether it
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   681
-wants munged symlinks via its \(dq\&munge symlinks\(dq\& parameter.  See also the
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   682
-\(dq\&munge\-symlinks\(dq\& perl script in the support directory of the source code.
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   683
+wants munged symlinks via its "munge symlinks" parameter.  See also the
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   684
+"munge\-symlinks" perl script in the support directory of the source code.
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   685
 .IP 
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   686
 .IP "\fB\-k, \-\-copy\-dirlinks\fP"
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   687
 This option causes the sending side to treat
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   688
 a symlink to a directory as though it were a real directory.  This is
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   689
-useful if you don\(cq\&t want symlinks to non\-directories to be affected, as
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   690
+useful if you don't want symlinks to non\-directories to be affected, as
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   691
 they would be using \fB\-\-copy\-links\fP.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   692
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   693
 Without this option, if the sending side has replaced a directory with a
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   694
@@ -1097,20 +1101,20 @@
2708
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   695
 .IP 
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   696
 This works because rsync calls \fBlstat\fP(2) on the source arg as given, and the
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   697
 trailing slash makes \fBlstat\fP(2) follow the symlink, giving rise to a directory
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   698
-in the file\-list which overrides the symlink found during the scan of \(dq\&src/./\(dq\&.
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   699
+in the file\-list which overrides the symlink found during the scan of "src/./".
2708
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   700
 .IP 
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   701
 .IP "\fB\-K, \-\-keep\-dirlinks\fP"
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   702
 This option causes the receiving side to treat
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   703
 a symlink to a directory as though it were a real directory, but only if it
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   704
 matches a real directory from the sender.  Without this option, the
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   705
-receiver\(cq\&s symlink would be deleted and replaced with a real directory.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   706
+receiver's symlink would be deleted and replaced with a real directory.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   707
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   708
-For example, suppose you transfer a directory \(dq\&foo\(dq\& that contains a file
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   709
-\(dq\&file\(dq\&, but \(dq\&foo\(dq\& is a symlink to directory \(dq\&bar\(dq\& on the receiver.  Without
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   710
-\fB\-\-keep\-dirlinks\fP, the receiver deletes symlink \(dq\&foo\(dq\&, recreates it as a
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   711
+For example, suppose you transfer a directory "foo" that contains a file
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   712
+"file", but "foo" is a symlink to directory "bar" on the receiver.  Without
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   713
+\fB\-\-keep\-dirlinks\fP, the receiver deletes symlink "foo", recreates it as a
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   714
 directory, and receives the file into the new directory.  With
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   715
-\fB\-\-keep\-dirlinks\fP, the receiver keeps the symlink and \(dq\&file\(dq\& ends up in
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   716
-\(dq\&bar\(dq\&.
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   717
+\fB\-\-keep\-dirlinks\fP, the receiver keeps the symlink and "file" ends up in
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   718
+"bar".
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   719
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   720
 One note of caution:  if you use \fB\-\-keep\-dirlinks\fP, you must trust all
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   721
 the symlinks in the copy!  If it is possible for an untrusted user to
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   722
@@ -1178,24 +1182,24 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   723
 permissions, though the \fB\-\-executability\fP option might change just
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   724
 the execute permission for the file.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   725
 .IP o 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   726
-New files get their \(dq\&normal\(dq\& permission bits set to the source
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   727
-file\(cq\&s permissions masked with the receiving directory\(cq\&s default
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   728
-permissions (either the receiving process\(cq\&s umask, or the permissions
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   729
-specified via the destination directory\(cq\&s default ACL), and
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   730
+New files get their "normal" permission bits set to the source
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   731
+file's permissions masked with the receiving directory's default
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   732
+permissions (either the receiving process's umask, or the permissions
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   733
+specified via the destination directory's default ACL), and
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   734
 their special permission bits disabled except in the case where a new
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   735
 directory inherits a setgid bit from its parent directory.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   736
 .RE
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   737
 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   738
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   739
 Thus, when \fB\-\-perms\fP and \fB\-\-executability\fP are both disabled,
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   740
-rsync\(cq\&s behavior is the same as that of other file\-copy utilities,
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   741
+rsync's behavior is the same as that of other file\-copy utilities,
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   742
 such as \fBcp\fP(1) and \fBtar\fP(1).
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   743
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   744
 In summary: to give destination files (both old and new) the source
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   745
 permissions, use \fB\-\-perms\fP.  To give new files the destination\-default
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   746
 permissions (while leaving existing files unchanged), make sure that the
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   747
 \fB\-\-perms\fP option is off and use \fB\-\-chmod=ugo=rwX\fP (which ensures that
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   748
-all non\-masked bits get enabled).  If you\(cq\&d care to make this latter
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   749
+all non\-masked bits get enabled).  If you'd care to make this latter
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   750
 behavior easier to type, you could define a popt alias for it, such as
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   751
 putting this line in the file ~/.popt (the following defines the \fB\-Z\fP option,
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   752
 and includes \-\-no\-g to use the default group of the destination dir):
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   753
@@ -1213,13 +1217,13 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   754
 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   755
 .IP 
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   756
 (Caveat: make sure that \fB\-a\fP does not follow \fB\-Z\fP, or it will re\-enable
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   757
-the two \(dq\&\-\-no\-*\(dq\& options mentioned above.)
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   758
+the two "\-\-no\-*" options mentioned above.)
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   759
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   760
-The preservation of the destination\(cq\&s setgid bit on newly\-created
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   761
+The preservation of the destination's setgid bit on newly\-created
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   762
 directories when \fB\-\-perms\fP is off was added in rsync 2.6.7.  Older rsync
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   763
 versions erroneously preserved the three special permission bits for
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   764
 newly\-created files when \fB\-\-perms\fP was off, while overriding the
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   765
-destination\(cq\&s setgid bit setting on a newly\-created directory.  Default ACL
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   766
+destination's setgid bit setting on a newly\-created directory.  Default ACL
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   767
 observance was added to the ACL patch for rsync 2.6.7, so older (or
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   768
 non\-ACL\-enabled) rsyncs use the umask even if default ACLs are present.
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   769
 (Keep in mind that it is the version of the receiving rsync that affects
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   770
@@ -1229,17 +1233,17 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   771
 This option causes rsync to preserve the
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   772
 executability (or non\-executability) of regular files when \fB\-\-perms\fP is
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   773
 not enabled.  A regular file is considered to be executable if at least one
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   774
-\(cq\&x\(cq\& is turned on in its permissions.  When an existing destination file\(cq\&s
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   775
+\&'x' is turned on in its permissions.  When an existing destination file's
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   776
 executability differs from that of the corresponding source file, rsync
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   777
-modifies the destination file\(cq\&s permissions as follows:
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   778
+modifies the destination file's permissions as follows:
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   779
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   780
 .RS 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   781
 .IP o 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   782
-To make a file non\-executable, rsync turns off all its \(cq\&x\(cq\&
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   783
+To make a file non\-executable, rsync turns off all its 'x'
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   784
 permissions.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   785
 .IP o 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   786
-To make a file executable, rsync turns on each \(cq\&x\(cq\& permission that
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   787
-has a corresponding \(cq\&r\(cq\& permission enabled.
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   788
+To make a file executable, rsync turns on each 'x' permission that
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   789
+has a corresponding 'r' permission enabled.
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   790
 .RE
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   791
 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   792
 .IP 
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   793
@@ -1265,19 +1269,19 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   794
 .IP 
2708
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   795
 Note that this option does not copy rsyncs special xattr values (e.g. those
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   796
 used by \fB\-\-fake\-super\fP) unless you repeat the option (e.g. \-XX).  This
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   797
-\(dq\&copy all xattrs\(dq\& mode cannot be used with \fB\-\-fake\-super\fP.
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   798
+"copy all xattrs" mode cannot be used with \fB\-\-fake\-super\fP.
2708
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   799
 .IP 
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   800
 .IP "\fB\-\-chmod\fP"
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   801
 This option tells rsync to apply one or more
2708
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   802
-comma\-separated \(dq\&chmod\(dq\& modes to the permission of the files in the
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   803
+comma\-separated "chmod" modes to the permission of the files in the
2708
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   804
 transfer.  The resulting value is treated as though it were the permissions
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   805
 that the sending side supplied for the file, which means that this option
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   806
 can seem to have no effect on existing files if \fB\-\-perms\fP is not enabled.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   807
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   808
 In addition to the normal parsing rules specified in the \fBchmod\fP(1)
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   809
 manpage, you can specify an item that should only apply to a directory by
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   810
-prefixing it with a \(cq\&D\(cq\&, or specify an item that should only apply to a
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   811
-file by prefixing it with a \(cq\&F\(cq\&.  For example, the following will ensure
2708
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   812
+prefixing it with a 'D', or specify an item that should only apply to a
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   813
+file by prefixing it with a 'F'.  For example, the following will ensure
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   814
 that all directories get marked set\-gid, that no files are other\-writable,
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   815
 that both are user\-writable and group\-writable, and that both have
2708
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   816
 consistent executability across all bits:
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   817
@@ -1344,8 +1348,8 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   818
 option is not used, the optimization that excludes files that have not been
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   819
 modified cannot be effective; in other words, a missing \fB\-t\fP or \fB\-a\fP will
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   820
 cause the next transfer to behave as if it used \fB\-I\fP, causing all files to be
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   821
-updated (though rsync\(cq\&s delta\-transfer algorithm will make the update fairly efficient
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   822
-if the files haven\(cq\&t actually changed, you\(cq\&re much better off using \fB\-t\fP).
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   823
+updated (though rsync's delta\-transfer algorithm will make the update fairly efficient
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   824
+if the files haven't actually changed, you're much better off using \fB\-t\fP).
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   825
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   826
 .IP "\fB\-O, \-\-omit\-dir\-times\fP"
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   827
 This tells rsync to omit directories when
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   828
@@ -1360,7 +1364,7 @@
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   829
 directory right away (without having to delay that until a bunch of recursive
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   830
 copying has finished).  This early\-create idiom is not necessary if directory
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   831
 modify times are not being preserved, so it is skipped.  Since early\-create
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   832
-directories don\(cq\&t have accurate mode, mtime, or ownership, the use of this
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   833
+directories don't have accurate mode, mtime, or ownership, the use of this
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   834
 option can help when someone wants to avoid these partially\-finished
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   835
 directories.
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   836
 .IP 
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   837
@@ -1370,12 +1374,12 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   838
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   839
 .IP "\fB\-\-super\fP"
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   840
 This tells the receiving side to attempt super\-user
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   841
-activities even if the receiving rsync wasn\(cq\&t run by the super\-user.  These
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   842
+activities even if the receiving rsync wasn't run by the super\-user.  These
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   843
 activities include: preserving users via the \fB\-\-owner\fP option, preserving
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   844
-all groups (not just the current user\(cq\&s groups) via the \fB\-\-groups\fP
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   845
+all groups (not just the current user's groups) via the \fB\-\-groups\fP
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   846
 option, and copying devices via the \fB\-\-devices\fP option.  This is useful
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   847
 for systems that allow such activities without being the super\-user, and
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   848
-also for ensuring that you will get errors if the receiving side isn\(cq\&t
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   849
+also for ensuring that you will get errors if the receiving side isn't
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   850
 being run as the super\-user.  To turn off super\-user activities, the
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   851
 super\-user can use \fB\-\-no\-super\fP.
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   852
 .IP 
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   853
@@ -1383,10 +1387,10 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   854
 When this option is enabled, rsync simulates
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   855
 super\-user activities by saving/restoring the privileged attributes via
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   856
 special extended attributes that are attached to each file (as needed).  This
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   857
-includes the file\(cq\&s owner and group (if it is not the default), the file\(cq\&s
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   858
+includes the file's owner and group (if it is not the default), the file's
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   859
 device info (device & special files are created as empty text files), and
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   860
-any permission bits that we won\(cq\&t allow to be set on the real file (e.g.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   861
-the real file gets u\-s,g\-s,o\-t for safety) or that would limit the owner\(cq\&s
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   862
+any permission bits that we won't allow to be set on the real file (e.g.
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   863
+the real file gets u\-s,g\-s,o\-t for safety) or that would limit the owner's
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   864
 access (since the real super\-user can always access/change a file, the
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   865
 files we create can always be accessed/changed by the creating user).
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   866
 This option also handles ACLs (if \fB\-\-acls\fP was specified) and non\-user
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   867
@@ -1412,18 +1416,18 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   868
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   869
 This option is overridden by both \fB\-\-super\fP and \fB\-\-no\-super\fP.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   870
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   871
-See also the \(dq\&fake super\(dq\& setting in the daemon\(cq\&s rsyncd.conf file.
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   872
+See also the "fake super" setting in the daemon's rsyncd.conf file.
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   873
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   874
 .IP "\fB\-S, \-\-sparse\fP"
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   875
 Try to handle sparse files efficiently so they take
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   876
-up less space on the destination.  Conflicts with \fB\-\-inplace\fP because it\(cq\&s
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   877
+up less space on the destination.  Conflicts with \fB\-\-inplace\fP because it's
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   878
 not possible to overwrite data in a sparse fashion.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   879
 .IP 
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   880
 .IP "\fB\-\-preallocate\fP"
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   881
 This tells the receiver to allocate each destination
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   882
 file to its eventual size before writing data to the file.  Rsync will only use
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   883
-the real filesystem\-level preallocation support provided by Linux\(cq\&s
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   884
-\fBfallocate\fP(2) system call or Cygwin\(cq\&s \fBposix_fallocate\fP(3), not the slow
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   885
+the real filesystem\-level preallocation support provided by Linux's
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   886
+\fBfallocate\fP(2) system call or Cygwin's \fBposix_fallocate\fP(3), not the slow
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   887
 glibc implementation that writes a zero byte into each block.
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   888
 .IP 
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   889
 Without this option, larger files may not be entirely contiguous on the
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   890
@@ -1432,7 +1436,7 @@
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   891
 etc.), this option may have no positive effect at all.
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   892
 .IP 
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   893
 .IP "\fB\-n, \-\-dry\-run\fP"
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   894
-This makes rsync perform a trial run that doesn\(cq\&t
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   895
+This makes rsync perform a trial run that doesn't
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   896
 make any changes (and produces mostly the same output as a real run).  It
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   897
 is most commonly used in combination with the \fB\-v, \-\-verbose\fP and/or
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   898
 \fB\-i, \-\-itemize\-changes\fP options to see what an rsync command is going
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   899
@@ -1440,29 +1444,29 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   900
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   901
 The output of \fB\-\-itemize\-changes\fP is supposed to be exactly the same on a
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   902
 dry run and a subsequent real run (barring intentional trickery and system
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   903
-call failures); if it isn\(cq\&t, that\(cq\&s a bug.  Other output should be mostly
2708
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   904
+call failures); if it isn't, that's a bug.  Other output should be mostly
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   905
 unchanged, but may differ in some areas.  Notably, a dry run does not
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   906
 send the actual data for file transfers, so \fB\-\-progress\fP has no effect,
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   907
-the \(dq\&bytes sent\(dq\&, \(dq\&bytes received\(dq\&, \(dq\&literal data\(dq\&, and \(dq\&matched data\(dq\&
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   908
-statistics are too small, and the \(dq\&speedup\(dq\& value is equivalent to a run
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   909
+the "bytes sent", "bytes received", "literal data", and "matched data"
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   910
+statistics are too small, and the "speedup" value is equivalent to a run
2708
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   911
 where no file transfers were needed.
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   912
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   913
 .IP "\fB\-W, \-\-whole\-file\fP"
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   914
-With this option rsync\(cq\&s delta\-transfer algorithm
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   915
+With this option rsync's delta\-transfer algorithm
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   916
 is not used and the whole file is sent as\-is instead.  The transfer may be
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   917
 faster if this option is used when the bandwidth between the source and
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   918
 destination machines is higher than the bandwidth to disk (especially when the
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   919
-\(dq\&disk\(dq\& is actually a networked filesystem).  This is the default when both
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   920
+"disk" is actually a networked filesystem).  This is the default when both
2708
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   921
 the source and destination are specified as local paths, but only if no
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   922
 batch\-writing option is in effect.
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   923
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   924
 .IP "\fB\-x, \-\-one\-file\-system\fP"
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   925
 This tells rsync to avoid crossing a
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   926
-filesystem boundary when recursing.  This does not limit the user\(cq\&s ability
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   927
-to specify items to copy from multiple filesystems, just rsync\(cq\&s recursion
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   928
+filesystem boundary when recursing.  This does not limit the user's ability
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   929
+to specify items to copy from multiple filesystems, just rsync's recursion
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   930
 through the hierarchy of each directory that the user specified, and also
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   931
 the analogous recursion on the receiving side during deletion.  Also keep
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   932
-in mind that rsync treats a \(dq\&bind\(dq\& mount to the same device as being on the
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   933
+in mind that rsync treats a "bind" mount to the same device as being on the
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   934
 same filesystem.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   935
 .IP 
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   936
 If this option is repeated, rsync omits all mount\-point directories from
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   937
@@ -1482,8 +1486,8 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   938
 combined with the \fB\-\-ignore\-existing\fP option, no files will be updated
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   939
 (which can be useful if all you want to do is delete extraneous files).
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   940
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   941
-This option is a transfer rule, not an exclude, so it doesn\(cq\&t affect the
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   942
-data that goes into the file\-lists, and thus it doesn\(cq\&t affect deletions.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   943
+This option is a transfer rule, not an exclude, so it doesn't affect the
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   944
+data that goes into the file\-lists, and thus it doesn't affect deletions.
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   945
 It just limits the files that the receiver requests to be transferred.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   946
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   947
 .IP "\fB\-\-ignore\-existing\fP"
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   948
@@ -1491,15 +1495,15 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   949
 already exist on the destination (this does \fInot\fP ignore existing
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   950
 directories, or nothing would get done).  See also \fB\-\-existing\fP.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   951
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   952
-This option is a transfer rule, not an exclude, so it doesn\(cq\&t affect the
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   953
-data that goes into the file\-lists, and thus it doesn\(cq\&t affect deletions.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   954
+This option is a transfer rule, not an exclude, so it doesn't affect the
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   955
+data that goes into the file\-lists, and thus it doesn't affect deletions.
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   956
 It just limits the files that the receiver requests to be transferred.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   957
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   958
 This option can be useful for those doing backups using the \fB\-\-link\-dest\fP
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   959
 option when they need to continue a backup run that got interrupted.  Since
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   960
 a \fB\-\-link\-dest\fP run is copied into a new directory hierarchy (when it is
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   961
 used properly), using \fB\-\-ignore existing\fP will ensure that the
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   962
-already\-handled files don\(cq\&t get tweaked (which avoids a change in
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   963
+already\-handled files don't get tweaked (which avoids a change in
2708
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   964
 permissions on the hard\-linked files).  This does mean that this option
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   965
 is only looking at the existing files in the destination hierarchy itself.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   966
 .IP 
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
   967
@@ -1511,24 +1515,24 @@
2708
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   968
 Note that you should only use this option on source files that are quiescent.
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   969
 If you are using this to move files that show up in a particular directory over
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   970
 to another host, make sure that the finished files get renamed into the source
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   971
-directory, not directly written into it, so that rsync can\(cq\&t possibly transfer
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   972
-a file that is not yet fully written.  If you can\(cq\&t first write the files into
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   973
+directory, not directly written into it, so that rsync can't possibly transfer
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   974
+a file that is not yet fully written.  If you can't first write the files into
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   975
 a different directory, you should use a naming idiom that lets rsync avoid
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   976
-transferring files that are not yet finished (e.g. name the file \(dq\&foo.new\(dq\& when
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   977
-it is written, rename it to \(dq\&foo\(dq\& when it is done, and then use the option
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   978
-\fB\-\-exclude='\&*.new'\&\fP for the rsync transfer).
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   979
+transferring files that are not yet finished (e.g. name the file "foo.new" when
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   980
+it is written, rename it to "foo" when it is done, and then use the option
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   981
+\fB\-\-exclude='*.new'\fP for the rsync transfer).
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   982
 .IP 
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   983
 Starting with 3.1.0, rsync will skip the sender\-side removal (and output an
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   984
-error) if the file\(cq\&s size or modify time has not stayed unchanged.
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   985
+error) if the file's size or modify time has not stayed unchanged.
2708
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
   986
 .IP 
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   987
 .IP "\fB\-\-delete\fP"
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   988
 This tells rsync to delete extraneous files from the
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   989
-receiving side (ones that aren\(cq\&t on the sending side), but only for the
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   990
+receiving side (ones that aren't on the sending side), but only for the
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   991
 directories that are being synchronized.  You must have asked rsync to
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   992
-send the whole directory (e.g. \(dq\&dir\(dq\& or \(dq\&dir/\(dq\&) without using a wildcard
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   993
-for the directory\(cq\&s contents (e.g. \(dq\&dir/*\(dq\&) since the wildcard is expanded
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   994
+send the whole directory (e.g. "dir" or "dir/") without using a wildcard
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
   995
+for the directory's contents (e.g. "dir/*") since the wildcard is expanded
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   996
 by the shell and rsync thus gets a request to transfer individual files, not
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   997
-the files\(cq\& parent directory.  Files that are excluded from the transfer are
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   998
+the files' parent directory.  Files that are excluded from the transfer are
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
   999
 also excluded from being deleted unless you use the \fB\-\-delete\-excluded\fP
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1000
 option or mark the rules as only matching on the sending side (see the
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1001
 include/exclude modifiers in the FILTER RULES section).
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1002
@@ -1585,7 +1589,7 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1003
 computes the deletions in a separate pass after all updates are done).
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1004
 If the number of removed files overflows an internal buffer, a
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1005
 temporary file will be created on the receiving side to hold the names (it
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1006
-is removed while open, so you shouldn\(cq\&t see it during the transfer).  If
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1007
+is removed while open, so you shouldn't see it during the transfer).  If
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1008
 the creation of the temporary file fails, rsync will try to fall back to
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1009
 using \fB\-\-delete\-after\fP (which it cannot do if \fB\-\-recursive\fP is doing an
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1010
 incremental scan).
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1011
@@ -1627,7 +1631,7 @@
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1012
 that, this option is independent of any other type of delete processing.
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1013
 .IP 
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1014
 The missing source files are represented by special file\-list entries which
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1015
-display as a \(dq\&*missing\(dq\& entry in the \fB\-\-list\-only\fP output.
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1016
+display as a "*missing" entry in the \fB\-\-list\-only\fP output.
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1017
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1018
 .IP "\fB\-\-ignore\-errors\fP"
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1019
 Tells \fB\-\-delete\fP to go ahead and delete files
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1020
@@ -1651,27 +1655,27 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1021
 .IP 
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1022
 Beginning with version 3.0.0, you may specify \fB\-\-max\-delete=0\fP to be warned
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1023
 about any extraneous files in the destination without removing any of them.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1024
-Older clients interpreted this as \(dq\&unlimited\(dq\&, so if you don\(cq\&t know what
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1025
+Older clients interpreted this as "unlimited", so if you don't know what
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1026
 version the client is, you can use the less obvious \fB\-\-max\-delete=\-1\fP as
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1027
 a backward\-compatible way to specify that no deletions be allowed (though
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1028
-really old versions didn\(cq\&t warn when the limit was exceeded).
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1029
+really old versions didn't warn when the limit was exceeded).
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1030
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1031
 .IP "\fB\-\-max\-size=SIZE\fP"
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1032
 This tells rsync to avoid transferring any
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1033
 file that is larger than the specified SIZE. The SIZE value can be
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1034
 suffixed with a string to indicate a size multiplier, and
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1035
-may be a fractional value (e.g. \(dq\&\fB\-\-max\-size=1.5m\fP\(dq\&).
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1036
+may be a fractional value (e.g. "\fB\-\-max\-size=1.5m\fP").
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1037
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1038
-This option is a transfer rule, not an exclude, so it doesn\(cq\&t affect the
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1039
-data that goes into the file\-lists, and thus it doesn\(cq\&t affect deletions.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1040
+This option is a transfer rule, not an exclude, so it doesn't affect the
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1041
+data that goes into the file\-lists, and thus it doesn't affect deletions.
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1042
 It just limits the files that the receiver requests to be transferred.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1043
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1044
-The suffixes are as follows: \(dq\&K\(dq\& (or \(dq\&KiB\(dq\&) is a kibibyte (1024),
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1045
-\(dq\&M\(dq\& (or \(dq\&MiB\(dq\&) is a mebibyte (1024*1024), and \(dq\&G\(dq\& (or \(dq\&GiB\(dq\&) is a
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1046
+The suffixes are as follows: "K" (or "KiB") is a kibibyte (1024),
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1047
+"M" (or "MiB") is a mebibyte (1024*1024), and "G" (or "GiB") is a
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1048
 gibibyte (1024*1024*1024).
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1049
-If you want the multiplier to be 1000 instead of 1024, use \(dq\&KB\(dq\&,
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1050
-\(dq\&MB\(dq\&, or \(dq\&GB\(dq\&.  (Note: lower\-case is also accepted for all values.)
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1051
-Finally, if the suffix ends in either \(dq\&+1\(dq\& or \(dq\&\-1\(dq\&, the value will
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1052
+If you want the multiplier to be 1000 instead of 1024, use "KB",
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1053
+"MB", or "GB".  (Note: lower\-case is also accepted for all values.)
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1054
+Finally, if the suffix ends in either "+1" or "\-1", the value will
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1055
 be offset by one byte in the indicated direction.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1056
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1057
 Examples: \-\-max\-size=1.5mb\-1 is 1499999 bytes, and \-\-max\-size=2g+1 is
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1058
@@ -1689,7 +1693,7 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1059
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1060
 .IP "\fB\-B, \-\-block\-size=BLOCKSIZE\fP"
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1061
 This forces the block size used in
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1062
-rsync\(cq\&s delta\-transfer algorithm to a fixed value.  It is normally selected based on
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1063
+rsync's delta\-transfer algorithm to a fixed value.  It is normally selected based on
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1064
 the size of each file being updated.  See the technical report for details.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1065
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1066
 .IP "\fB\-e, \-\-rsh=COMMAND\fP"
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1067
@@ -1702,8 +1706,8 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1068
 remote shell \fICOMMAND\fP will be used to run an rsync daemon on the
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1069
 remote host, and all data will be transmitted through that remote
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1070
 shell connection, rather than through a direct socket connection to a
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1071
-running rsync daemon on the remote host.  See the section \(dq\&USING
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1072
-RSYNC\-DAEMON FEATURES VIA A REMOTE\-SHELL CONNECTION\(dq\& above.
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1073
+running rsync daemon on the remote host.  See the section "USING
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1074
+RSYNC\-DAEMON FEATURES VIA A REMOTE\-SHELL CONNECTION" above.
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1075
 .IP 
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1076
 Command\-line arguments are permitted in COMMAND provided that COMMAND is
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1077
 presented to rsync as a single argument.  You must use spaces (not tabs
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1078
@@ -1715,9 +1719,9 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1079
 shell is parsing and which quotes rsync is parsing).  Some examples:
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1080
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1081
 .RS 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1082
-\f(CW    \-e '\&ssh \-p 2234'\&\fP
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1083
+\f(CW    \-e 'ssh \-p 2234'\fP
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1084
 .br 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1085
-\f(CW    \-e '\&ssh \-o \(dq\&ProxyCommand nohup ssh firewall nc \-w1 %h %p\(dq\&'\&\fP
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1086
+\f(CW    \-e 'ssh \-o "ProxyCommand nohup ssh firewall nc \-w1 %h %p"'\fP
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1087
 .br 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1088
 .RE
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1089
 
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1090
@@ -1733,9 +1737,9 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1091
 .IP "\fB\-\-rsync\-path=PROGRAM\fP"
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1092
 Use this to specify what program is to be run
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1093
 on the remote machine to start\-up rsync.  Often used when rsync is not in
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1094
-the default remote\-shell\(cq\&s path (e.g. \-\-rsync\-path=/usr/local/bin/rsync).
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1095
+the default remote\-shell's path (e.g. \-\-rsync\-path=/usr/local/bin/rsync).
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1096
 Note that PROGRAM is run with the help of a shell, so it can be any
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1097
-program, script, or command sequence you\(cq\&d care to run, so long as it does
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1098
+program, script, or command sequence you'd care to run, so long as it does
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1099
 not corrupt the standard\-in & standard\-out that rsync is using to
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1100
 communicate.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1101
 .IP 
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1102
@@ -1743,7 +1747,7 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1103
 machine for use with the \fB\-\-relative\fP option.  For instance:
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1104
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1105
 .RS 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1106
-\f(CW    rsync \-avR \-\-rsync\-path=\(dq\&cd /a/b && rsync\(dq\& host:c/d /e/\fP
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1107
+\f(CW    rsync \-avR \-\-rsync\-path="cd /a/b && rsync" host:c/d /e/\fP
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1108
 .RE
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1109
 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1110
 .IP 
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1111
@@ -1776,8 +1780,8 @@
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1112
 option.  If that option is off, any spaces in your remote options will be split
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1113
 by the remote shell unless you take steps to protect them.
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1114
 .IP 
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1115
-When performing a local transfer, the \(dq\&local\(dq\& side is the sender and the
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1116
-\(dq\&remote\(dq\& side is the receiver.
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1117
+When performing a local transfer, the "local" side is the sender and the
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1118
+"remote" side is the receiver.
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1119
 .IP 
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1120
 Note some versions of the popt option\-parsing library have a bug in them that
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1121
 prevents you from using an adjacent arg with an equal in it next to a short
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1122
@@ -1786,7 +1790,7 @@
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1123
 .IP 
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1124
 .IP "\fB\-C, \-\-cvs\-exclude\fP"
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1125
 This is a useful shorthand for excluding a
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1126
-broad range of files that you often don\(cq\&t want to transfer between
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1127
+broad range of files that you often don't want to transfer between
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1128
 systems. It uses a similar algorithm to CVS to determine if
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1129
 a file should be ignored.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1130
 .IP 
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1131
@@ -1808,17 +1812,17 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1132
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1133
 Finally, any file is ignored if it is in the same directory as a
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1134
 \&.cvsignore file and matches one of the patterns listed therein.  Unlike
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1135
-rsync\(cq\&s filter/exclude files, these patterns are split on whitespace.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1136
+rsync's filter/exclude files, these patterns are split on whitespace.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1137
 See the \fBcvs\fP(1) manual for more information.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1138
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1139
-If you\(cq\&re combining \fB\-C\fP with your own \fB\-\-filter\fP rules, you should
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1140
+If you're combining \fB\-C\fP with your own \fB\-\-filter\fP rules, you should
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1141
 note that these CVS excludes are appended at the end of your own rules,
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1142
 regardless of where the \fB\-C\fP was placed on the command\-line.  This makes them
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1143
 a lower priority than any rules you specified explicitly.  If you want to
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1144
 control where these CVS excludes get inserted into your filter rules, you
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1145
 should omit the \fB\-C\fP as a command\-line option and use a combination of
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1146
 \fB\-\-filter=:C\fP and \fB\-\-filter=\-C\fP (either on your command\-line or by
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1147
-putting the \(dq\&:C\(dq\& and \(dq\&\-C\(dq\& rules into a filter file with your other rules).
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1148
+putting the ":C" and "\-C" rules into a filter file with your other rules).
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1149
 The first option turns on the per\-directory scanning for the .cvsignore
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1150
 file.  The second option does a one\-time import of the CVS excludes
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1151
 mentioned above.
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1152
@@ -1841,7 +1845,7 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1153
 your command.  The first time it is used is a shorthand for this rule:
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1154
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1155
 .RS 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1156
-\f(CW   \-\-filter='\&dir\-merge /.rsync\-filter'\&\fP
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1157
+\f(CW   \-\-filter='dir\-merge /.rsync\-filter'\fP
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1158
 .RE
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1159
 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1160
 .IP 
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1161
@@ -1851,7 +1855,7 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1162
 rule:
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1163
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1164
 .RS 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1165
-\f(CW   \-\-filter='\&exclude .rsync\-filter'\&\fP
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1166
+\f(CW   \-\-filter='exclude .rsync\-filter'\fP
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1167
 .RE
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1168
 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1169
 .IP 
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1170
@@ -1870,7 +1874,7 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1171
 .IP "\fB\-\-exclude\-from=FILE\fP"
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1172
 This option is related to the \fB\-\-exclude\fP
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1173
 option, but it specifies a FILE that contains exclude patterns (one per line).
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1174
-Blank lines in the file and lines starting with \(cq\&;\(cq\& or \(cq\&#\(cq\& are ignored.
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1175
+Blank lines in the file and lines starting with ';' or '#' are ignored.
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1176
 If \fIFILE\fP is \fB\-\fP, the list will be read from standard input.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1177
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1178
 .IP "\fB\-\-include=PATTERN\fP"
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1179
@@ -1883,7 +1887,7 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1180
 .IP "\fB\-\-include\-from=FILE\fP"
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1181
 This option is related to the \fB\-\-include\fP
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1182
 option, but it specifies a FILE that contains include patterns (one per line).
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1183
-Blank lines in the file and lines starting with \(cq\&;\(cq\& or \(cq\&#\(cq\& are ignored.
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1184
+Blank lines in the file and lines starting with ';' or '#' are ignored.
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1185
 If \fIFILE\fP is \fB\-\fP, the list will be read from standard input.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1186
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1187
 .IP "\fB\-\-files\-from=FILE\fP"
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1188
@@ -1902,7 +1906,7 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1189
 specified in the list on the destination rather than noisily skipping
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1190
 them (use \fB\-\-no\-dirs\fP or \fB\-\-no\-d\fP if you want to turn that off).
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1191
 .IP o 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1192
-The \fB\-\-archive\fP (\fB\-a\fP) option\(cq\&s behavior does not imply \fB\-\-recursive\fP
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1193
+The \fB\-\-archive\fP (\fB\-a\fP) option's behavior does not imply \fB\-\-recursive\fP
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1194
 (\fB\-r\fP), so specify it explicitly, if you want it.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1195
 .IP o 
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1196
 These side\-effects change the default state of rsync, so the position
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1197
@@ -1913,7 +1917,7 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1198
 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1199
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1200
 The filenames that are read from the FILE are all relative to the
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1201
-source dir \-\- any leading slashes are removed and no \(dq\&..\(dq\& references are
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1202
+source dir \-\- any leading slashes are removed and no ".." references are
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1203
 allowed to go higher than the source dir.  For example, take this
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1204
 command:
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1205
 .IP 
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1206
@@ -1922,12 +1926,12 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1207
 .RE
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1208
 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1209
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1210
-If /tmp/foo contains the string \(dq\&bin\(dq\& (or even \(dq\&/bin\(dq\&), the /usr/bin
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1211
+If /tmp/foo contains the string "bin" (or even "/bin"), the /usr/bin
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1212
 directory will be created as /backup/bin on the remote host.  If it
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1213
-contains \(dq\&bin/\(dq\& (note the trailing slash), the immediate contents of
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1214
+contains "bin/" (note the trailing slash), the immediate contents of
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1215
 the directory would also be sent (without needing to be explicitly
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1216
 mentioned in the file \-\- this began in version 2.6.4).  In both cases,
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1217
-if the \fB\-r\fP option was enabled, that dir\(cq\&s entire hierarchy would
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1218
+if the \fB\-r\fP option was enabled, that dir's entire hierarchy would
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1219
 also be transferred (keep in mind that \fB\-r\fP needs to be specified
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1220
 explicitly with \fB\-\-files\-from\fP, since it is not implied by \fB\-a\fP).
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1221
 Also note
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1222
@@ -1936,10 +1940,10 @@
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1223
 force the duplication of the source\-spec path (/usr in this case).
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1224
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1225
 In addition, the \fB\-\-files\-from\fP file can be read from the remote host
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1226
-instead of the local host if you specify a \(dq\&host:\(dq\& in front of the file
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1227
+instead of the local host if you specify a "host:" in front of the file
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1228
 (the host must match one end of the transfer).  As a short\-cut, you can
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1229
-specify just a prefix of \(dq\&:\(dq\& to mean \(dq\&use the remote end of the
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1230
-transfer\(dq\&.  For example:
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1231
+specify just a prefix of ":" to mean "use the remote end of the
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1232
+transfer".  For example:
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1233
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1234
 .RS 
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1235
 \f(CW   rsync \-a \-\-files\-from=:/path/file\-list src:/ /tmp/copy\fP
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1236
@@ -1947,12 +1951,12 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1237
 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1238
 .IP 
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1239
 This would copy all the files specified in the /path/file\-list file that
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1240
-was located on the remote \(dq\&src\(dq\& host.
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1241
+was located on the remote "src" host.
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1242
 .IP 
2708
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
  1243
 If the \fB\-\-iconv\fP and \fB\-\-protect\-args\fP options are specified and the
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
  1244
 \fB\-\-files\-from\fP filenames are being sent from one host to another, the
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1245
-filenames will be translated from the sending host\(cq\&s charset to the
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1246
-receiving host\(cq\&s charset.
2708
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
  1247
+filenames will be translated from the sending host's charset to the
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
  1248
+receiving host's charset.
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
  1249
 .IP 
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
  1250
 NOTE: sorting the list of files in the \-\-files\-from input helps rsync to be
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
  1251
 more efficient, as it will avoid re\-visiting the path elements that are shared
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1252
@@ -1962,7 +1966,7 @@
2708
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
  1253
 .IP 
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1254
 .IP "\fB\-0, \-\-from0\fP"
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1255
 This tells rsync that the rules/filenames it reads from a
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1256
-file are terminated by a null (\(cq\&\e0\(cq\&) character, not a NL, CR, or CR+LF.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1257
+file are terminated by a null ('\e0') character, not a NL, CR, or CR+LF.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1258
 This affects \fB\-\-exclude\-from\fP, \fB\-\-include\-from\fP, \fB\-\-files\-from\fP, and any
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1259
 merged files specified in a \fB\-\-filter\fP rule.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1260
 It does not affect \fB\-\-cvs\-exclude\fP (since all names read from a .cvsignore
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1261
@@ -1985,7 +1989,7 @@
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1262
 by default, otherwise it will be disabled by default.  Either state is
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1263
 overridden by a manually specified positive or negative version of this option
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1264
 (note that \fB\-\-no\-s\fP and \fB\-\-no\-protect\-args\fP are the negative versions).
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1265
-Since this option was first introduced in 3.0.0, you\(cq\&ll need to make sure it\(cq\&s
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1266
+Since this option was first introduced in 3.0.0, you'll need to make sure it's
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1267
 disabled if you ever need to interact with a remote rsync that is older than
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1268
 that.
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1269
 .IP 
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1270
@@ -2020,9 +2024,9 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1271
 If you are using this option for reasons other than a shortage of disk
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1272
 space, you may wish to combine it with the \fB\-\-delay\-updates\fP option,
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1273
 which will ensure that all copied files get put into subdirectories in the
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1274
-destination hierarchy, awaiting the end of the transfer.  If you don\(cq\&t
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1275
+destination hierarchy, awaiting the end of the transfer.  If you don't
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1276
 have enough room to duplicate all the arriving files on the destination
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1277
-partition, another way to tell rsync that you aren\(cq\&t overly concerned
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1278
+partition, another way to tell rsync that you aren't overly concerned
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1279
 about disk space is to use the \fB\-\-partial\-dir\fP option with a relative
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1280
 path; because this tells rsync that it is OK to stash off a copy of a
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1281
 single file in a subdir in the destination hierarchy, rsync will use the
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1282
@@ -2050,7 +2054,7 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1283
 the destination machine as an additional hierarchy to compare destination
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1284
 files against doing transfers (if the files are missing in the destination
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1285
 directory).  If a file is found in \fIDIR\fP that is identical to the
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1286
-sender\(cq\&s file, the file will NOT be transferred to the destination
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1287
+sender's file, the file will NOT be transferred to the destination
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1288
 directory.  This is useful for creating a sparse backup of just files that
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1289
 have changed from an earlier backup.
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1290
 This option is typically used to copy into an empty (or newly created)
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1291
@@ -2099,10 +2103,10 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1292
 .RE
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1293
 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1294
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1295
-If file\(cq\&s aren\(cq\&t linking, double\-check their attributes.  Also check if some
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1296
-attributes are getting forced outside of rsync\(cq\&s control, such a mount option
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1297
+If file's aren't linking, double\-check their attributes.  Also check if some
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1298
+attributes are getting forced outside of rsync's control, such a mount option
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1299
 that squishes root to a single user, or mounts a removable drive with generic
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1300
-ownership (such as OS X\(cq\&s \(dq\&Ignore ownership on this volume\(dq\& option).
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1301
+ownership (such as OS X's "Ignore ownership on this volume" option).
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1302
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1303
 Beginning in version 2.6.4, multiple \fB\-\-link\-dest\fP directories may be
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1304
 provided, which will cause rsync to search the list in the order specified
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1305
@@ -2172,11 +2176,11 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1306
 .IP 
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1307
 Simple character\-class matching is supported: each must consist of a list
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1308
 of letters inside the square brackets (e.g. no special classes, such as
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1309
-\(dq\&[:alpha:]\(dq\&, are supported, and \(cq\&\-\(cq\& has no special meaning).
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1310
+"[:alpha:]", are supported, and '\-' has no special meaning).
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1311
 .IP 
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1312
 The characters asterisk (*) and question\-mark (?) have no special meaning.
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1313
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1314
-Here\(cq\&s an example that specifies 6 suffixes to skip (since 1 of the 5 rules
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1315
+Here's an example that specifies 6 suffixes to skip (since 1 of the 5 rules
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1316
 matches 2 suffixes):
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1317
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1318
 .nf 
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1319
@@ -2234,8 +2238,8 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1320
 If a user or group has no name on the source system or it has no match
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1321
 on the destination system, then the numeric ID
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1322
 from the source system is used instead.  See also the comments on the
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1323
-\(dq\&use chroot\(dq\& setting in the rsyncd.conf manpage for information on how
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1324
-the chroot setting affects rsync\(cq\&s ability to look up the names of the
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1325
+"use chroot" setting in the rsyncd.conf manpage for information on how
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1326
+the chroot setting affects rsync's ability to look up the names of the
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1327
 users and groups and what you can do about it.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1328
 .IP 
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1329
 .IP "\fB\-\-usermap=STRING, \-\-groupmap=STRING\fP"
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1330
@@ -2245,9 +2249,9 @@
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1331
 values separated by commas.  Any matching \fBFROM\fP value from the sender is
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1332
 replaced with a \fBTO\fP value from the receiver.  You may specify usernames
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1333
 or user IDs for the \fBFROM\fP and \fBTO\fP values, and the \fBFROM\fP value may
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1334
-also be a wild\-card string, which will be matched against the sender\(cq\&s
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1335
+also be a wild\-card string, which will be matched against the sender's
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1336
 names (wild\-cards do NOT match against ID numbers, though see below for
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1337
-why a \(cq\&*\(cq\& matches everything).  You may instead specify a range of ID
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1338
+why a '*' matches everything).  You may instead specify a range of ID
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1339
 numbers via an inclusive range: LOW\-HIGH.  For example:
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1340
 .IP 
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1341
 .nf 
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1342
@@ -2259,15 +2263,15 @@
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1343
 all your user mappings using a single \fB\-\-usermap\fP option, and/or all
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1344
 your group mappings using a single \fB\-\-groupmap\fP option.
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1345
 .IP 
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1346
-Note that the sender\(cq\&s name for the 0 user and group are not transmitted
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1347
+Note that the sender's name for the 0 user and group are not transmitted
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1348
 to the receiver, so you should either match these values using a 0, or use
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1349
-the names in effect on the receiving side (typically \(dq\&root\(dq\&).  All other
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1350
+the names in effect on the receiving side (typically "root").  All other
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1351
 \fBFROM\fP names match those in use on the sending side.  All \fBTO\fP names
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1352
 match those in use on the receiving side.
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1353
 .IP 
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1354
 Any IDs that do not have a name on the sending side are treated as having an
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1355
 empty name for the purpose of matching.  This allows them to be matched via
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1356
-a \(dq\&*\(dq\& or using an empty name.  For instance:
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1357
+a "*" or using an empty name.  For instance:
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1358
 .IP 
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1359
 .nf 
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1360
   \-\-usermap=:nobody \-\-groupmap=*:nobody
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1361
@@ -2294,8 +2298,8 @@
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1362
 the omitted user/group will occur.  If GROUP is empty, the trailing colon may
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1363
 be omitted, but if USER is empty, a leading colon must be supplied.
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1364
 .IP 
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1365
-If you specify \(dq\&\-\-chown=foo:bar, this is exactly the same as specifying
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1366
-\(dq\&\-\-usermap=*:foo \-\-groupmap=*:bar\(dq\&, only easier.
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1367
+If you specify "\-\-chown=foo:bar, this is exactly the same as specifying
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1368
+"\-\-usermap=*:foo \-\-groupmap=*:bar", only easier.
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1369
 .IP 
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1370
 .IP "\fB\-\-timeout=TIMEOUT\fP"
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1371
 This option allows you to set a maximum I/O
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1372
@@ -2345,18 +2349,18 @@
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1373
 as a single letter for the mode, and use upper or lower case.
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1374
 .IP 
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1375
 The main use of this option is to change Full buffering to Line buffering
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1376
-when rsync\(cq\&s output is going to a file or pipe.
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1377
+when rsync's output is going to a file or pipe.
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1378
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1379
 .IP "\fB\-i, \-\-itemize\-changes\fP"
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1380
 Requests a simple itemized list of the
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1381
 changes that are being made to each file, including attribute changes.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1382
-This is exactly the same as specifying \fB\-\-out\-format='\&%i %n%L'\&\fP.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1383
+This is exactly the same as specifying \fB\-\-out\-format='%i %n%L'\fP.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1384
 If you repeat the option, unchanged files will also be output, but only
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1385
 if the receiving rsync is at least version 2.6.7 (you can use \fB\-vv\fP
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1386
 with older versions of rsync, but that also turns on the output of other
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1387
 verbose messages).
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1388
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1389
-The \(dq\&%i\(dq\& escape has a cryptic output that is 11 letters long.  The general
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1390
+The "%i" escape has a cryptic output that is 11 letters long.  The general
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1391
 format is like the string \fBYXcstpoguax\fP, where \fBY\fP is replaced by the
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1392
 type of update being done, \fBX\fP is replaced by the file\-type, and the
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1393
 other letters represent attributes that may be output if they are being
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1394
@@ -2382,7 +2386,7 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1395
 have attributes that are being modified).
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1396
 .IP o 
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1397
 A \fB*\fP means that the rest of the itemized\-output area contains
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1398
-a message (e.g. \(dq\&deleting\(dq\&).
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1399
+a message (e.g. "deleting").
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1400
 .RE
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1401
 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1402
 .IP 
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1403
@@ -2392,10 +2396,10 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1404
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1405
 The other letters in the string above are the actual letters that
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1406
 will be output if the associated attribute for the item is being updated or
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1407
-a \(dq\&.\(dq\& for no change.  Three exceptions to this are: (1) a newly created
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1408
-item replaces each letter with a \(dq\&+\(dq\&, (2) an identical item replaces the
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1409
+a "." for no change.  Three exceptions to this are: (1) a newly created
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1410
+item replaces each letter with a "+", (2) an identical item replaces the
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1411
 dots with spaces, and (3) an unknown attribute replaces each letter with
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1412
-a \(dq\&?\(dq\& (this can happen when talking to an older rsync).
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1413
+a "?" (this can happen when talking to an older rsync).
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1414
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1415
 The attribute that is associated with each letter is as follows:
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1416
 .IP 
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1417
@@ -2411,21 +2415,21 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1418
 by the file transfer.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1419
 .IP o 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1420
 A \fBt\fP means the modification time is different and is being updated
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1421
-to the sender\(cq\&s value (requires \fB\-\-times\fP).  An alternate value of \fBT\fP
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1422
+to the sender's value (requires \fB\-\-times\fP).  An alternate value of \fBT\fP
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1423
 means that the modification time will be set to the transfer time, which happens
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1424
 when a file/symlink/device is updated without \fB\-\-times\fP and when a
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1425
-symlink is changed and the receiver can\(cq\&t set its time.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1426
+symlink is changed and the receiver can't set its time.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1427
 (Note: when using an rsync 3.0.0 client, you might see the \fBs\fP flag combined
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1428
 with \fBt\fP instead of the proper \fBT\fP flag for this time\-setting failure.)
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1429
 .IP o 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1430
 A \fBp\fP means the permissions are different and are being updated to
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1431
-the sender\(cq\&s value (requires \fB\-\-perms\fP).
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1432
+the sender's value (requires \fB\-\-perms\fP).
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1433
 .IP o 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1434
 An \fBo\fP means the owner is different and is being updated to the
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1435
-sender\(cq\&s value (requires \fB\-\-owner\fP and super\-user privileges).
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1436
+sender's value (requires \fB\-\-owner\fP and super\-user privileges).
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1437
 .IP o 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1438
 A \fBg\fP means the group is different and is being updated to the
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1439
-sender\(cq\&s value (requires \fB\-\-group\fP and the authority to set the group).
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1440
+sender's value (requires \fB\-\-group\fP and the authority to set the group).
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1441
 .IP o 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1442
 The \fBu\fP slot is reserved for future use.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1443
 .IP o 
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1444
@@ -2435,8 +2439,8 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1445
 .RE
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1446
 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1447
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1448
-One other output is possible:  when deleting files, the \(dq\&%i\(dq\& will output
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1449
-the string \(dq\&*deleting\(dq\& for each item that is being removed (assuming that
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1450
+One other output is possible:  when deleting files, the "%i" will output
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1451
+the string "*deleting" for each item that is being removed (assuming that
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1452
 you are talking to a recent enough rsync that it logs deletions instead of
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1453
 outputting them as a verbose message).
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1454
 .IP 
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1455
@@ -2444,10 +2448,10 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1456
 This allows you to specify exactly what the
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1457
 rsync client outputs to the user on a per\-update basis.  The format is a
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1458
 text string containing embedded single\-character escape sequences prefixed
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1459
-with a percent (%) character.   A default format of \(dq\&%n%L\(dq\& is assumed if
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1460
+with a percent (%) character.   A default format of "%n%L" is assumed if
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1461
 either \fB\-\-info=name\fP or \fB\-v\fP is specified (this tells you just the name
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1462
 of the file and, if the item is a link, where it points).  For a full list
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1463
-of the possible escape characters, see the \(dq\&log format\(dq\& setting in the
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1464
+of the possible escape characters, see the "log format" setting in the
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1465
 rsyncd.conf manpage.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1466
 .IP 
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1467
 Specifying the \fB\-\-out\-format\fP option implies the \fB\-\-info=name\fP option,
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1468
@@ -2457,11 +2461,11 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1469
 the string (e.g. if the \fB\-\-itemize\-changes\fP option was used), the logging
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1470
 of names increases to mention any item that is changed in any way (as long
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1471
 as the receiving side is at least 2.6.4).  See the \fB\-\-itemize\-changes\fP
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1472
-option for a description of the output of \(dq\&%i\(dq\&.
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1473
+option for a description of the output of "%i".
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1474
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1475
-Rsync will output the out\-format string prior to a file\(cq\&s transfer unless
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1476
+Rsync will output the out\-format string prior to a file's transfer unless
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1477
 one of the transfer\-statistic escapes is requested, in which case the
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1478
-logging is done at the end of the file\(cq\&s transfer.  When this late logging
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1479
+logging is done at the end of the file's transfer.  When this late logging
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1480
 is in effect and \fB\-\-progress\fP is also specified, rsync will also output
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1481
 the name of the file being transferred prior to its progress information
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1482
 (followed, of course, by the out\-format output).
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1483
@@ -2471,10 +2475,10 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1484
 to a file.  This is similar to the logging that a daemon does, but can be
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1485
 requested for the client side and/or the server side of a non\-daemon
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1486
 transfer.  If specified as a client option, transfer logging will be
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1487
-enabled with a default format of \(dq\&%i %n%L\(dq\&.  See the \fB\-\-log\-file\-format\fP
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1488
+enabled with a default format of "%i %n%L".  See the \fB\-\-log\-file\-format\fP
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1489
 option if you wish to override this.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1490
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1491
-Here\(cq\&s a example command that requests the remote side to log what is
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1492
+Here's a example command that requests the remote side to log what is
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1493
 happening:
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1494
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1495
 .nf 
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1496
@@ -2490,15 +2494,15 @@
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1497
 per\-update logging is put into the file specified by the \fB\-\-log\-file\fP option
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1498
 (which must also be specified for this option to have any effect).  If you
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1499
 specify an empty string, updated files will not be mentioned in the log file.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1500
-For a list of the possible escape characters, see the \(dq\&log format\(dq\& setting
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1501
+For a list of the possible escape characters, see the "log format" setting
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1502
 in the rsyncd.conf manpage.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1503
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1504
 The default FORMAT used if \fB\-\-log\-file\fP is specified and this option is not
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1505
-is \(cq\&%i %n%L\(cq\&.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1506
+is '%i %n%L'.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1507
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1508
 .IP "\fB\-\-stats\fP"
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1509
 This tells rsync to print a verbose set of statistics
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1510
-on the file transfer, allowing you to tell how effective rsync\(cq\&s delta\-transfer
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1511
+on the file transfer, allowing you to tell how effective rsync's delta\-transfer
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1512
 algorithm is for your data.  This option is equivalent to \fB\-\-info=stats2\fP
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1513
 if combined with 0 or 1 \fB\-v\fP options, or \fB\-\-info=stats3\fP if combined
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1514
 with 2 or more \fB\-v\fP options.
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1515
@@ -2506,27 +2510,27 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1516
 The current statistics are as follows: 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1517
 .RS 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1518
 .IP o 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1519
-\fBNumber of files\fP is the count of all \(dq\&files\(dq\& (in the generic
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1520
+\fBNumber of files\fP is the count of all "files" (in the generic
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1521
 sense), which includes directories, symlinks, etc.  The total count will
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1522
 be followed by a list of counts by filetype (if the total is non\-zero).
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1523
-For example: \(dq\&(reg: 5, dir: 3, link: 2, dev: 1, special: 1)\(dq\& lists the
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1524
+For example: "(reg: 5, dir: 3, link: 2, dev: 1, special: 1)" lists the
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1525
 totals for regular files, directories, symlinks, devices, and special
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1526
 files.  If any of value is 0, it is completely omitted from the list.
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1527
 .IP o 
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1528
-\fBNumber of created files\fP is the count of how many \(dq\&files\(dq\& (generic
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1529
+\fBNumber of created files\fP is the count of how many "files" (generic
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1530
 sense) were created (as opposed to updated).  The total count will be
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1531
 followed by a list of counts by filetype (if the total is non\-zero).
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1532
 .IP o 
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1533
-\fBNumber of deleted files\fP is the count of how many \(dq\&files\(dq\& (generic
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1534
+\fBNumber of deleted files\fP is the count of how many "files" (generic
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1535
 sense) were created (as opposed to updated).  The total count will be
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1536
 followed by a list of counts by filetype (if the total is non\-zero).
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1537
 Note that this line is only output if deletions are in effect, and only
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1538
 if protocol 31 is being used (the default for rsync 3.1.x).
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1539
 .IP o 
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1540
 \fBNumber of regular files transferred\fP is the count of normal files
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1541
-that were updated via rsync\(cq\&s delta\-transfer algorithm, which does not
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1542
+that were updated via rsync's delta\-transfer algorithm, which does not
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1543
 include dirs, symlinks, etc.  Note that rsync 3.1.0 added the word
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1544
-\(dq\&regular\(dq\& into this heading.
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1545
+"regular" into this heading.
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1546
 .IP o 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1547
 \fBTotal file size\fP is the total sum of all file sizes in the transfer.
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1548
 This does not count any size for directories or special files, but does
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1549
@@ -2557,22 +2561,22 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1550
 from the client side to the server side.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1551
 .IP o 
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1552
 \fBTotal bytes received\fP is the count of all non\-message bytes that
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1553
-rsync received by the client side from the server side.  \(dq\&Non\-message\(dq\&
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1554
-bytes means that we don\(cq\&t count the bytes for a verbose message that the
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1555
+rsync received by the client side from the server side.  "Non\-message"
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1556
+bytes means that we don't count the bytes for a verbose message that the
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1557
 server sent to us, which makes the stats more consistent.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1558
 .RE
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1559
 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1560
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1561
 .IP "\fB\-8, \-\-8\-bit\-output\fP"
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1562
 This tells rsync to leave all high\-bit characters
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1563
-unescaped in the output instead of trying to test them to see if they\(cq\&re
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1564
+unescaped in the output instead of trying to test them to see if they're
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1565
 valid in the current locale and escaping the invalid ones.  All control
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1566
-characters (but never tabs) are always escaped, regardless of this option\(cq\&s
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1567
+characters (but never tabs) are always escaped, regardless of this option's
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1568
 setting.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1569
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1570
 The escape idiom that started in 2.6.7 is to output a literal backslash (\e)
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1571
 and a hash (#), followed by exactly 3 octal digits.  For example, a newline
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1572
-would output as \(dq\&\e#012\(dq\&.  A literal backslash that is in a filename is not
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1573
+would output as "\e#012".  A literal backslash that is in a filename is not
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1574
 escaped unless it is followed by a hash and 3 digits (0\-9).
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1575
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1576
 .IP "\fB\-h, \-\-human\-readable\fP"
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1577
@@ -2594,7 +2598,7 @@
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1578
 Backward compatibility note:  versions of rsync prior to 3.1.0 do not support
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1579
 human\-readable level 1, and they default to level 0.  Thus, specifying one or
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1580
 two \fB\-h\fP options will behave in a comparable manner in old and new versions
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1581
-as long as you didn\(cq\&t specify a \fB\-\-no\-h\fP option prior to one or more \fB\-h\fP
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1582
+as long as you didn't specify a \fB\-\-no\-h\fP option prior to one or more \fB\-h\fP
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1583
 options.  See the \fB\-\-list\-only\fP option for one difference.
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1584
 .IP 
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1585
 .IP "\fB\-\-partial\fP"
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1586
@@ -2615,12 +2619,12 @@
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1587
 Note that if \fB\-\-whole\-file\fP is specified (or implied), any partial\-dir
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1588
 file that is found for a file that is being updated will simply be removed
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1589
 (since
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1590
-rsync is sending files without using rsync\(cq\&s delta\-transfer algorithm).
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1591
+rsync is sending files without using rsync's delta\-transfer algorithm).
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1592
 .IP 
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1593
 Rsync will create the \fIDIR\fP if it is missing (just the last dir \-\- not
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1594
 the whole path).  This makes it easy to use a relative path (such as
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1595
-\(dq\&\fB\-\-partial\-dir=.rsync\-partial\fP\(dq\&) to have rsync create the
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1596
-partial\-directory in the destination file\(cq\&s directory when needed, and then
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1597
+"\fB\-\-partial\-dir=.rsync\-partial\fP") to have rsync create the
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1598
+partial\-directory in the destination file's directory when needed, and then
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1599
 remove it again when the partial file is deleted.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1600
 .IP 
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1601
 If the partial\-dir value is not an absolute path, rsync will add an exclude
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1602
@@ -2628,21 +2632,21 @@
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1603
 sending of any partial\-dir files that may exist on the sending side, and
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1604
 will also prevent the untimely deletion of partial\-dir items on the
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1605
 receiving side.  An example: the above \fB\-\-partial\-dir\fP option would add
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1606
-the equivalent of \(dq\&\fB\-f '\&\-p .rsync\-partial/'\&\fP\(dq\& at the end of any other
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1607
+the equivalent of "\fB\-f '\-p .rsync\-partial/'\fP" at the end of any other
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1608
 filter rules.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1609
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1610
 If you are supplying your own exclude rules, you may need to add your own
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1611
 exclude/hide/protect rule for the partial\-dir because (1) the auto\-added
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1612
 rule may be ineffective at the end of your other rules, or (2) you may wish
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1613
-to override rsync\(cq\&s exclude choice.  For instance, if you want to make
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1614
+to override rsync's exclude choice.  For instance, if you want to make
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1615
 rsync clean\-up any left\-over partial\-dirs that may be lying around, you
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1616
-should specify \fB\-\-delete\-after\fP and add a \(dq\&risk\(dq\& filter rule, e.g.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1617
-\fB\-f '\&R .rsync\-partial/'\&\fP.  (Avoid using \fB\-\-delete\-before\fP or
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1618
-\fB\-\-delete\-during\fP unless you don\(cq\&t need rsync to use any of the
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1619
+should specify \fB\-\-delete\-after\fP and add a "risk" filter rule, e.g.
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1620
+\fB\-f 'R .rsync\-partial/'\fP.  (Avoid using \fB\-\-delete\-before\fP or
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1621
+\fB\-\-delete\-during\fP unless you don't need rsync to use any of the
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1622
 left\-over partial\-dir data during the current run.)
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1623
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1624
 IMPORTANT: the \fB\-\-partial\-dir\fP should not be writable by other users or it
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1625
-is a security risk.  E.g. AVOID \(dq\&/tmp\(dq\&.
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1626
+is a security risk.  E.g. AVOID "/tmp".
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1627
 .IP 
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1628
 You can also set the partial\-dir value the RSYNC_PARTIAL_DIR environment
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1629
 variable.  Setting this in the environment does not force \fB\-\-partial\fP to be
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1630
@@ -2655,7 +2659,7 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1631
 specified (since \fB\-\-inplace\fP conflicts with \fB\-\-partial\-dir\fP), and (2) when
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1632
 \fB\-\-delay\-updates\fP was specified (see below).
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1633
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1634
-For the purposes of the daemon\-config\(cq\&s \(dq\&refuse options\(dq\& setting,
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1635
+For the purposes of the daemon\-config's "refuse options" setting,
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1636
 \fB\-\-partial\-dir\fP does \fInot\fP imply \fB\-\-partial\fP.  This is so that a
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1637
 refusal of the \fB\-\-partial\fP option can be used to disallow the overwriting
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1638
 of destination files with a partial transfer, while still allowing the
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1639
@@ -2666,12 +2670,12 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1640
 updated file into a holding directory until the end of the
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1641
 transfer, at which time all the files are renamed into place in rapid
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1642
 succession.  This attempts to make the updating of the files a little more
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1643
-atomic.  By default the files are placed into a directory named \(dq\&.~tmp~\(dq\& in
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1644
-each file\(cq\&s destination directory, but if you\(cq\&ve specified the
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1645
+atomic.  By default the files are placed into a directory named ".~tmp~" in
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1646
+each file's destination directory, but if you've specified the
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1647
 \fB\-\-partial\-dir\fP option, that directory will be used instead.  See the
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1648
 comments in the \fB\-\-partial\-dir\fP section for a discussion of how this
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1649
-\(dq\&.~tmp~\(dq\& dir will be excluded from the transfer, and what you can do if
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1650
-you want rsync to cleanup old \(dq\&.~tmp~\(dq\& dirs that might be lying around.
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1651
+".~tmp~" dir will be excluded from the transfer, and what you can do if
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1652
+you want rsync to cleanup old ".~tmp~" dirs that might be lying around.
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1653
 Conflicts with \fB\-\-inplace\fP and \fB\-\-append\fP.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1654
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1655
 This option uses more memory on the receiving side (one bit per file
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1656
@@ -2683,9 +2687,9 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1657
 the updated files will be put into a single directory if the path is
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1658
 absolute)
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1659
 and (2) there are no mount points in the hierarchy (since the
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1660
-delayed updates will fail if they can\(cq\&t be renamed into place).
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1661
+delayed updates will fail if they can't be renamed into place).
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1662
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1663
-See also the \(dq\&atomic\-rsync\(dq\& perl script in the \(dq\&support\(dq\& subdir for an
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1664
+See also the "atomic\-rsync" perl script in the "support" subdir for an
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1665
 update algorithm that is even more atomic (it uses \fB\-\-link\-dest\fP and a
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1666
 parallel hierarchy of files).
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1667
 .IP 
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1668
@@ -2709,26 +2713,26 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1669
 this.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1670
 .IP 
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1671
 You can prevent the pruning of certain empty directories from the file\-list
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1672
-by using a global \(dq\&protect\(dq\& filter.  For instance, this option would ensure
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1673
-that the directory \(dq\&emptydir\(dq\& was kept in the file\-list:
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1674
+by using a global "protect" filter.  For instance, this option would ensure
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1675
+that the directory "emptydir" was kept in the file\-list:
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1676
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1677
 .RS 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1678
-\-\-filter \(cq\&protect emptydir/\(cq\&
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1679
+\-\-filter 'protect emptydir/'
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1680
 .RE
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1681
 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1682
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1683
-Here\(cq\&s an example that copies all .pdf files in a hierarchy, only creating
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1684
+Here's an example that copies all .pdf files in a hierarchy, only creating
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1685
 the necessary destination directories to hold the .pdf files, and ensures
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1686
 that any superfluous files and directories in the destination are removed
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1687
 (note the hide filter of non\-directories being used instead of an exclude):
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1688
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1689
 .RS 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1690
-rsync \-avm \-\-del \-\-include=\(cq\&*.pdf\(cq\& \-f \(cq\&hide,! */\(cq\& src/ dest
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1691
+rsync \-avm \-\-del \-\-include='*.pdf' \-f 'hide,! */' src/ dest
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1692
 .RE
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1693
 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1694
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1695
-If you didn\(cq\&t want to remove superfluous destination files, the more
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1696
-time\-honored options of \(dq\&\fB\-\-include='\&*/'\& \-\-exclude='\&*'\&\fP\(dq\& would work fine
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1697
+If you didn't want to remove superfluous destination files, the more
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1698
+time\-honored options of "\fB\-\-include='*/' \-\-exclude='*'\fP" would work fine
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1699
 in place of the hide\-filter (if that is more natural to you).
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1700
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1701
 .IP "\fB\-\-progress\fP"
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1702
@@ -2737,7 +2741,7 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1703
 something to watch.
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1704
 With a modern rsync this is the same as specifying
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1705
 \fB\-\-info=flist2,name,progress\fP, but any user\-supplied settings for those
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1706
-info flags takes precedence (e.g. \(dq\&\-\-info=flist0 \-\-progress\(dq\&).
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1707
+info flags takes precedence (e.g. "\-\-info=flist0 \-\-progress").
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1708
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1709
 While rsync is transferring a regular file, it updates a progress line that
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1710
 looks like this:
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1711
@@ -2748,12 +2752,12 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1712
 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1713
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1714
 In this example, the receiver has reconstructed 782448 bytes or 63% of the
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1715
-sender\(cq\&s file, which is being reconstructed at a rate of 110.64 kilobytes
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1716
+sender's file, which is being reconstructed at a rate of 110.64 kilobytes
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1717
 per second, and the transfer will finish in 4 seconds if the current rate
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1718
 is maintained until the end.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1719
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1720
-These statistics can be misleading if rsync\(cq\&s delta\-transfer algorithm is
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1721
-in use.  For example, if the sender\(cq\&s file consists of the basis file
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1722
+These statistics can be misleading if rsync's delta\-transfer algorithm is
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1723
+in use.  For example, if the sender's file consists of the basis file
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1724
 followed by additional data, the reported rate will probably drop
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1725
 dramatically when the receiver gets to the literal data, and the transfer
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1726
 will probably take much longer to finish than the receiver estimated as it
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1727
@@ -2774,12 +2778,12 @@
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1728
 receiver to check (to see if they are up\-to\-date or not) remaining out of
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1729
 the 396 total files in the file\-list.
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1730
 .IP 
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1731
-In an incremental recursion scan, rsync won\(cq\&t know the total number of files
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1732
+In an incremental recursion scan, rsync won't know the total number of files
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1733
 in the file\-list until it reaches the ends of the scan, but since it starts to
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1734
-transfer files during the scan, it will display a line with the text \(dq\&ir\-chk\(dq\&
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1735
-(for incremental recursion check) instead of \(dq\&to\-chk\(dq\& until the point that it
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1736
+transfer files during the scan, it will display a line with the text "ir\-chk"
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1737
+(for incremental recursion check) instead of "to\-chk" until the point that it
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1738
 knows the full size of the list, at which point it will switch to using
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1739
-\(dq\&to\-chk\(dq\&.  Thus, seeing \(dq\&ir\-chk\(dq\& lets you know that the total count of files
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1740
+"to\-chk".  Thus, seeing "ir\-chk" lets you know that the total count of files
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1741
 in the file list is still going to increase (and each time it does, the count
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1742
 of files left to check  will increase by the number of the files added to the
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1743
 list).
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1744
@@ -2793,7 +2797,7 @@
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1745
 on the whole transfer, rather than individual files.  Use this flag without
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1746
 outputting a filename (e.g. avoid \fB\-v\fP or specify \fB\-\-info=name0\fP if you
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1747
 want to see how the transfer is doing without scrolling the screen with a
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1748
-lot of names.  (You don\(cq\&t need to specify the \fB\-\-progress\fP option in
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1749
+lot of names.  (You don't need to specify the \fB\-\-progress\fP option in
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1750
 order to use \fB\-\-info=progress2\fP.)
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1751
 .IP 
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1752
 .IP "\fB\-\-password\-file=FILE\fP"
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1753
@@ -2804,10 +2808,10 @@
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1754
 readable or if a root\-run rsync command finds a non\-root\-owned file.
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1755
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1756
 This option does not supply a password to a remote shell transport such as
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1757
-ssh; to learn how to do that, consult the remote shell\(cq\&s documentation.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1758
+ssh; to learn how to do that, consult the remote shell's documentation.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1759
 When accessing an rsync daemon using a remote shell as the transport, this
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1760
 option only comes into effect after the remote shell finishes its
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1761
-authentication (i.e. if you have also specified a password in the daemon\(cq\&s
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1762
+authentication (i.e. if you have also specified a password in the daemon's
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1763
 config file).
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1764
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1765
 .IP "\fB\-\-list\-only\fP"
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1766
@@ -2837,17 +2841,17 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1767
 Compatibility note:  when requesting a remote listing of files from an rsync
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1768
 that is version 2.6.3 or older, you may encounter an error if you ask for a
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1769
 non\-recursive listing.  This is because a file listing implies the \fB\-\-dirs\fP
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1770
-option w/o \fB\-\-recursive\fP, and older rsyncs don\(cq\&t have that option.  To
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1771
-avoid this problem, either specify the \fB\-\-no\-dirs\fP option (if you don\(cq\&t
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1772
-need to expand a directory\(cq\&s content), or turn on recursion and exclude
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1773
-the content of subdirectories: \fB\-r \-\-exclude='\&/*/*'\&\fP.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1774
+option w/o \fB\-\-recursive\fP, and older rsyncs don't have that option.  To
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1775
+avoid this problem, either specify the \fB\-\-no\-dirs\fP option (if you don't
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1776
+need to expand a directory's content), or turn on recursion and exclude
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1777
+the content of subdirectories: \fB\-r \-\-exclude='/*/*'\fP.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1778
 .IP 
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1779
 .IP "\fB\-\-bwlimit=RATE\fP"
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1780
 This option allows you to specify the maximum transfer
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1781
 rate for the data sent over the socket, specified in units per second.  The
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1782
 RATE value can be suffixed with a string to indicate a size multiplier, and may
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1783
-be a fractional value (e.g.  \(dq\&\fB\-\-bwlimit=1.5m\fP\(dq\&).  If no suffix is specified,
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1784
-the value will be assumed to be in units of 1024 bytes (as if \(dq\&K\(dq\& or \(dq\&KiB\(dq\& had
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1785
+be a fractional value (e.g.  "\fB\-\-bwlimit=1.5m\fP").  If no suffix is specified,
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1786
+the value will be assumed to be in units of 1024 bytes (as if "K" or "KiB" had
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1787
 been appended).  See the \fB\-\-max\-size\fP option for a description of all the
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1788
 available suffixes. A value of zero specifies no limit.
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1789
 .IP 
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1790
@@ -2856,7 +2860,7 @@
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1791
 .IP 
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1792
 Rsync writes data over the socket in blocks, and this option both limits the
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1793
 size of the blocks that rsync writes, and tries to keep the average transfer
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1794
-rate at the requested limit.  Some \(dq\&burstiness\(dq\& may be seen where rsync writes
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1795
+rate at the requested limit.  Some "burstiness" may be seen where rsync writes
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1796
 out a block of data and then sleeps to bring the average rate into compliance.
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1797
 .IP 
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1798
 Due to the internal buffering of data, the \fB\-\-progress\fP option may not be an
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1799
@@ -2867,7 +2871,7 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1800
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1801
 .IP "\fB\-\-write\-batch=FILE\fP"
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1802
 Record a file that can later be applied to
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1803
-another identical destination with \fB\-\-read\-batch\fP. See the \(dq\&BATCH MODE\(dq\&
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1804
+another identical destination with \fB\-\-read\-batch\fP. See the "BATCH MODE"
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1805
 section for details, and also the \fB\-\-only\-write\-batch\fP option.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1806
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1807
 .IP "\fB\-\-only\-write\-batch=FILE\fP"
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1808
@@ -2879,58 +2883,58 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1809
 Note that you can feel free to write the batch directly to some portable
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1810
 media: if this media fills to capacity before the end of the transfer, you
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1811
 can just apply that partial transfer to the destination and repeat the
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1812
-whole process to get the rest of the changes (as long as you don\(cq\&t mind a
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1813
+whole process to get the rest of the changes (as long as you don't mind a
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1814
 partially updated destination system while the multi\-update cycle is
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1815
 happening).
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1816
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1817
 Also note that you only save bandwidth when pushing changes to a remote
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1818
 system because this allows the batched data to be diverted from the sender
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1819
 into the batch file without having to flow over the wire to the receiver
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1820
-(when pulling, the sender is remote, and thus can\(cq\&t write the batch).
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1821
+(when pulling, the sender is remote, and thus can't write the batch).
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1822
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1823
 .IP "\fB\-\-read\-batch=FILE\fP"
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1824
 Apply all of the changes stored in FILE, a
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1825
 file previously generated by \fB\-\-write\-batch\fP.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1826
 If \fIFILE\fP is \fB\-\fP, the batch data will be read from standard input.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1827
-See the \(dq\&BATCH MODE\(dq\& section for details.
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1828
+See the "BATCH MODE" section for details.
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1829
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1830
 .IP "\fB\-\-protocol=NUM\fP"
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1831
 Force an older protocol version to be used.  This
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1832
 is useful for creating a batch file that is compatible with an older
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1833
 version of rsync.  For instance, if rsync 2.6.4 is being used with the
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1834
 \fB\-\-write\-batch\fP option, but rsync 2.6.3 is what will be used to run the
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1835
-\fB\-\-read\-batch\fP option, you should use \(dq\&\-\-protocol=28\(dq\& when creating the
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1836
+\fB\-\-read\-batch\fP option, you should use "\-\-protocol=28" when creating the
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1837
 batch file to force the older protocol version to be used in the batch
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1838
-file (assuming you can\(cq\&t upgrade the rsync on the reading system).
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1839
+file (assuming you can't upgrade the rsync on the reading system).
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1840
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1841
 .IP "\fB\-\-iconv=CONVERT_SPEC\fP"
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1842
 Rsync can convert filenames between character
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1843
-sets using this option.  Using a CONVERT_SPEC of \(dq\&.\(dq\& tells rsync to look up
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1844
+sets using this option.  Using a CONVERT_SPEC of "." tells rsync to look up
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1845
 the default character\-set via the locale setting.  Alternately, you can
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1846
 fully specify what conversion to do by giving a local and a remote charset
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1847
 separated by a comma in the order \fB\-\-iconv=LOCAL,REMOTE\fP, e.g.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1848
 \fB\-\-iconv=utf8,iso88591\fP.  This order ensures that the option
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1849
-will stay the same whether you\(cq\&re pushing or pulling files.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1850
-Finally, you can specify either \fB\-\-no\-iconv\fP or a CONVERT_SPEC of \(dq\&\-\(dq\&
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1851
+will stay the same whether you're pushing or pulling files.
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1852
+Finally, you can specify either \fB\-\-no\-iconv\fP or a CONVERT_SPEC of "\-"
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1853
 to turn off any conversion.
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1854
 The default setting of this option is site\-specific, and can also be
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1855
 affected via the RSYNC_ICONV environment variable.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1856
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1857
 For a list of what charset names your local iconv library supports, you can
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1858
-run \(dq\&iconv \-\-list\(dq\&.
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1859
+run "iconv \-\-list".
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1860
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1861
 If you specify the \fB\-\-protect\-args\fP option (\fB\-s\fP), rsync will translate
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1862
 the filenames you specify on the command\-line that are being sent to the
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1863
 remote host.  See also the \fB\-\-files\-from\fP option.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1864
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1865
 Note that rsync does not do any conversion of names in filter files
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1866
-(including include/exclude files).  It is up to you to ensure that you\(cq\&re
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1867
+(including include/exclude files).  It is up to you to ensure that you're
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1868
 specifying matching rules that can match on both sides of the transfer.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1869
 For instance, you can specify extra include/exclude rules if there are
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1870
 filename differences on the two sides that need to be accounted for.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1871
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1872
 When you pass an \fB\-\-iconv\fP option to an rsync daemon that allows it, the
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1873
-daemon uses the charset specified in its \(dq\&charset\(dq\& configuration parameter
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1874
+daemon uses the charset specified in its "charset" configuration parameter
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1875
 regardless of the remote charset you actually pass.  Thus, you may feel free to
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1876
 specify just the local charset for a daemon transfer (e.g. \fB\-\-iconv=utf8\fP).
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1877
 .IP 
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1878
@@ -2947,10 +2951,10 @@
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1879
 .IP "\fB\-\-checksum\-seed=NUM\fP"
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1880
 Set the checksum seed to the integer NUM.  This 4
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1881
 byte checksum seed is included in each block and MD4 file checksum calculation
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1882
-(the more modern MD5 file checksums don\(cq\&t use a seed).  By default the checksum
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1883
+(the more modern MD5 file checksums don't use a seed).  By default the checksum
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1884
 seed is generated by the server and defaults to the current 
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1885
-\f(CWtime()\fP
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1886
-\&.  This
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1887
+\f(CWtime().\fP
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1888
+This
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1889
 option is used to set a specific checksum seed, which is useful for
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1890
 applications that want repeatable block checksums, or in the case where the
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1891
 user wants a more random checksum seed.  Setting NUM to 0 causes rsync to use
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1892
@@ -2980,7 +2984,7 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1893
 run as a daemon with the \fB\-\-daemon\fP option.  The \fB\-\-address\fP option
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1894
 allows you to specify a specific IP address (or hostname) to bind to.  This
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1895
 makes virtual hosting possible in conjunction with the \fB\-\-config\fP option.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1896
-See also the \(dq\&address\(dq\& global option in the rsyncd.conf manpage.
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1897
+See also the "address" global option in the rsyncd.conf manpage.
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1898
 .IP 
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1899
 .IP "\fB\-\-bwlimit=RATE\fP"
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1900
 This option allows you to specify the maximum transfer
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1901
@@ -2998,7 +3002,7 @@
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1902
 .IP "\fB\-M, \-\-dparam=OVERRIDE\fP"
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1903
 This option can be used to set a daemon\-config
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1904
 parameter when starting up rsync in daemon mode.  It is equivalent to adding
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1905
-the parameter at the end of the global settings prior to the first module\(cq\&s
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1906
+the parameter at the end of the global settings prior to the first module's
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1907
 definition.  The parameter names can be specified without spaces, if you so
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1908
 desire.  For instance:
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1909
 .IP 
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1910
@@ -3012,25 +3016,25 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1911
 rsync to not detach itself and become a background process.  This
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1912
 option is required when running as a service on Cygwin, and may also
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1913
 be useful when rsync is supervised by a program such as
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1914
-\fBdaemontools\fP or AIX\(cq\&s \fBSystem Resource Controller\fP.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1915
+\fBdaemontools\fP or AIX's \fBSystem Resource Controller\fP.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1916
 \fB\-\-no\-detach\fP is also recommended when rsync is run under a
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1917
 debugger.  This option has no effect if rsync is run from inetd or
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1918
 sshd.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1919
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1920
 .IP "\fB\-\-port=PORT\fP"
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1921
 This specifies an alternate TCP port number for the
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1922
-daemon to listen on rather than the default of 873.  See also the \(dq\&port\(dq\&
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1923
+daemon to listen on rather than the default of 873.  See also the "port"
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1924
 global option in the rsyncd.conf manpage.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1925
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1926
 .IP "\fB\-\-log\-file=FILE\fP"
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1927
 This option tells the rsync daemon to use the
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1928
-given log\-file name instead of using the \(dq\&log file\(dq\& setting in the config
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1929
+given log\-file name instead of using the "log file" setting in the config
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1930
 file.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1931
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1932
 .IP "\fB\-\-log\-file\-format=FORMAT\fP"
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1933
 This option tells the rsync daemon to use the
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1934
-given FORMAT string instead of using the \(dq\&log format\(dq\& setting in the config
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1935
-file.  It also enables \(dq\&transfer logging\(dq\& unless the string is empty, in which
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1936
+given FORMAT string instead of using the "log format" setting in the config
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1937
+file.  It also enables "transfer logging" unless the string is empty, in which
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1938
 case transfer logging is turned off.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1939
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1940
 .IP "\fB\-\-sockopts\fP"
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1941
@@ -3040,15 +3044,15 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1942
 .IP "\fB\-v, \-\-verbose\fP"
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1943
 This option increases the amount of information the
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1944
 daemon logs during its startup phase.  After the client connects, the
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1945
-daemon\(cq\&s verbosity level will be controlled by the options that the client
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1946
-used and the \(dq\&max verbosity\(dq\& setting in the module\(cq\&s config section.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1947
+daemon's verbosity level will be controlled by the options that the client
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1948
+used and the "max verbosity" setting in the module's config section.
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1949
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1950
 .IP "\fB\-4, \-\-ipv4\fP or \fB\-6, \-\-ipv6\fP"
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1951
 Tells rsync to prefer IPv4/IPv6
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1952
 when creating the incoming sockets that the rsync daemon will use to
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1953
 listen for connections.  One of these options may be required in older
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1954
 versions of Linux to work around an IPv6 bug in the kernel (if you see
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1955
-an \(dq\&address already in use\(dq\& error when nothing else is using the port,
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1956
+an "address already in use" error when nothing else is using the port,
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1957
 try specifying \fB\-\-ipv6\fP or \fB\-\-ipv4\fP when starting the daemon).
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1958
 .IP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1959
 If rsync was complied without support for IPv6, the \fB\-\-ipv6\fP option
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1960
@@ -3087,7 +3091,7 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1961
 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1962
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1963
 You have your choice of using either short or long RULE names, as described
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1964
-below.  If you use a short\-named rule, the \(cq\&,\(cq\& separating the RULE from the
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1965
+below.  If you use a short\-named rule, the ',' separating the RULE from the
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1966
 MODIFIERS is optional.  The PATTERN or FILENAME that follows (when present)
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1967
 must come after either a single space or an underscore (_).
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1968
 Here are the available rule prefixes:
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1969
@@ -3115,15 +3119,15 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1970
 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1971
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1972
 When rules are being read from a file, empty lines are ignored, as are
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1973
-comment lines that start with a \(dq\&#\(dq\&.
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1974
+comment lines that start with a "#".
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1975
 .PP 
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1976
 Note that the \fB\-\-include\fP/\fB\-\-exclude\fP command\-line options do not allow the
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1977
 full range of rule parsing as described above \-\- they only allow the
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1978
-specification of include/exclude patterns plus a \(dq\&!\(dq\& token to clear the
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1979
+specification of include/exclude patterns plus a "!" token to clear the
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1980
 list (and the normal comment parsing when rules are read from a file).
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1981
 If a pattern
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1982
-does not begin with \(dq\&\- \(dq\& (dash, space) or \(dq\&+ \(dq\& (plus, space), then the
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1983
-rule will be interpreted as if \(dq\&+ \(dq\& (for an include option) or \(dq\&\- \(dq\& (for
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1984
+does not begin with "\- " (dash, space) or "+ " (plus, space), then the
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1985
+rule will be interpreted as if "+ " (for an include option) or "\- " (for
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1986
 an exclude option) were prefixed to the string.  A \fB\-\-filter\fP option, on
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1987
 the other hand, must always contain either a short or long rule name at the
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1988
 start of the rule.
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  1989
@@ -3136,8 +3140,8 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1990
 .SH "INCLUDE/EXCLUDE PATTERN RULES"
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1991
 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1992
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1993
-You can include and exclude files by specifying patterns using the \(dq\&+\(dq\&,
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1994
-\(dq\&\-\(dq\&, etc. filter rules (as introduced in the FILTER RULES section above).
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1995
+You can include and exclude files by specifying patterns using the "+",
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  1996
+"\-", etc. filter rules (as introduced in the FILTER RULES section above).
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1997
 The include/exclude rules each specify a pattern that is matched against
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1998
 the names of the files that are going to be transferred.  These patterns
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  1999
 can take several forms:
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  2000
@@ -3147,15 +3151,15 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2001
 particular spot in the hierarchy of files, otherwise it is matched
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2002
 against the end of the pathname.  This is similar to a leading ^ in
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2003
 regular expressions.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2004
-Thus \(dq\&/foo\(dq\& would match a name of \(dq\&foo\(dq\& at either the \(dq\&root of the
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2005
-transfer\(dq\& (for a global rule) or in the merge\-file\(cq\&s directory (for a
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2006
+Thus "/foo" would match a name of "foo" at either the "root of the
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2007
+transfer" (for a global rule) or in the merge\-file's directory (for a
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2008
 per\-directory rule).
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2009
-An unqualified \(dq\&foo\(dq\& would match a name of \(dq\&foo\(dq\& anywhere in the
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2010
+An unqualified "foo" would match a name of "foo" anywhere in the
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2011
 tree because the algorithm is applied recursively from the
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2012
 top down; it behaves as if each path component gets a turn at being the
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2013
-end of the filename.  Even the unanchored \(dq\&sub/foo\(dq\& would match at
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2014
-any point in the hierarchy where a \(dq\&foo\(dq\& was found within a directory
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2015
-named \(dq\&sub\(dq\&.  See the section on ANCHORING INCLUDE/EXCLUDE PATTERNS for
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2016
+end of the filename.  Even the unanchored "sub/foo" would match at
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2017
+any point in the hierarchy where a "foo" was found within a directory
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2018
+named "sub".  See the section on ANCHORING INCLUDE/EXCLUDE PATTERNS for
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2019
 a full discussion of how to specify a pattern that matches at the root
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2020
 of the transfer.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2021
 .IP o 
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  2022
@@ -3164,48 +3168,48 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2023
 .IP o 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2024
 rsync chooses between doing a simple string match and wildcard
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2025
 matching by checking if the pattern contains one of these three wildcard
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2026
-characters: \(cq\&*\(cq\&, \(cq\&?\(cq\&, and \(cq\&[\(cq\& .
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2027
+characters: '*', '?', and '[' .
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2028
 .IP o 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2029
-a \(cq\&*\(cq\& matches any path component, but it stops at slashes.
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2030
+a '*' matches any path component, but it stops at slashes.
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2031
 .IP o 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2032
-use \(cq\&**\(cq\& to match anything, including slashes.
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2033
+use '**' to match anything, including slashes.
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2034
 .IP o 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2035
-a \(cq\&?\(cq\& matches any character except a slash (/).
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2036
+a '?' matches any character except a slash (/).
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2037
 .IP o 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2038
-a \(cq\&[\(cq\& introduces a character class, such as [a\-z] or [[:alpha:]].
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2039
+a '[' introduces a character class, such as [a\-z] or [[:alpha:]].
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2040
 .IP o 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2041
 in a wildcard pattern, a backslash can be used to escape a wildcard
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2042
 character, but it is matched literally when no wildcards are present.
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  2043
 This means that there is an extra level of backslash removal when a
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  2044
 pattern contains wildcard characters compared to a pattern that has none.
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  2045
-e.g. if you add a wildcard to \(dq\&foo\ebar\(dq\& (which matches the backslash) you
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  2046
-would need to use \(dq\&foo\e\ebar*\(dq\& to avoid the \(dq\&\eb\(dq\& becoming just \(dq\&b\(dq\&.
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  2047
+e.g. if you add a wildcard to "foo\ebar" (which matches the backslash) you
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  2048
+would need to use "foo\e\ebar*" to avoid the "\eb" becoming just "b".
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2049
 .IP o 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2050
-if the pattern contains a / (not counting a trailing /) or a \(dq\&**\(dq\&,
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2051
+if the pattern contains a / (not counting a trailing /) or a "**",
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2052
 then it is matched against the full pathname, including any leading
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2053
-directories. If the pattern doesn\(cq\&t contain a / or a \(dq\&**\(dq\&, then it is
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2054
+directories. If the pattern doesn't contain a / or a "**", then it is
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2055
 matched only against the final component of the filename.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2056
-(Remember that the algorithm is applied recursively so \(dq\&full filename\(dq\&
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2057
+(Remember that the algorithm is applied recursively so "full filename"
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2058
 can actually be any portion of a path from the starting directory on
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2059
 down.)
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2060
 .IP o 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2061
-a trailing \(dq\&dir_name/***\(dq\& will match both the directory (as if
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2062
-\(dq\&dir_name/\(dq\& had been specified) and everything in the directory
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2063
-(as if \(dq\&dir_name/**\(dq\& had been specified).  This behavior was added in
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2064
+a trailing "dir_name/***" will match both the directory (as if
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2065
+"dir_name/" had been specified) and everything in the directory
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2066
+(as if "dir_name/**" had been specified).  This behavior was added in
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2067
 version 2.6.7.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2068
 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2069
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2070
 Note that, when using the \fB\-\-recursive\fP (\fB\-r\fP) option (which is implied by
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2071
 \fB\-a\fP), every subcomponent of every path is visited from the top down, so
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2072
-include/exclude patterns get applied recursively to each subcomponent\(cq\&s
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2073
-full name (e.g. to include \(dq\&/foo/bar/baz\(dq\& the subcomponents \(dq\&/foo\(dq\& and
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2074
-\(dq\&/foo/bar\(dq\& must not be excluded).
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2075
+include/exclude patterns get applied recursively to each subcomponent's
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2076
+full name (e.g. to include "/foo/bar/baz" the subcomponents "/foo" and
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2077
+"/foo/bar" must not be excluded).
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2078
 The exclude patterns actually short\-circuit the directory traversal stage
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2079
 when rsync finds the files to send.  If a pattern excludes a particular
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2080
 parent directory, it can render a deeper include pattern ineffectual
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2081
 because rsync did not descend through that excluded section of the
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2082
-hierarchy.  This is particularly important when using a trailing \(cq\&*\(cq\& rule.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2083
-For instance, this won\(cq\&t work:
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2084
+hierarchy.  This is particularly important when using a trailing '*' rule.
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2085
+For instance, this won't work:
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2086
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2087
 .RS 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2088
 \f(CW+ /some/path/this\-file\-will\-not\-be\-found\fP
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  2089
@@ -3217,11 +3221,11 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2090
 .RE
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2091
 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2092
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2093
-This fails because the parent directory \(dq\&some\(dq\& is excluded by the \(cq\&*\(cq\&
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2094
-rule, so rsync never visits any of the files in the \(dq\&some\(dq\& or \(dq\&some/path\(dq\&
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2095
+This fails because the parent directory "some" is excluded by the '*'
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2096
+rule, so rsync never visits any of the files in the "some" or "some/path"
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2097
 directories.  One solution is to ask for all directories in the hierarchy
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2098
-to be included by using a single rule: \(dq\&+ */\(dq\& (put it somewhere before the
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2099
-\(dq\&\- *\(dq\& rule), and perhaps use the \fB\-\-prune\-empty\-dirs\fP option.  Another
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2100
+to be included by using a single rule: "+ */" (put it somewhere before the
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2101
+"\- *" rule), and perhaps use the \fB\-\-prune\-empty\-dirs\fP option.  Another
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2102
 solution is to add specific include rules for all
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2103
 the parent dirs that need to be visited.  For instance, this set of rules
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2104
 works fine:
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  2105
@@ -3243,44 +3247,44 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2106
 Here are some examples of exclude/include matching:
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2107
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2108
 .IP o 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2109
-\(dq\&\- *.o\(dq\& would exclude all names matching *.o
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2110
+"\- *.o" would exclude all names matching *.o
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2111
 .IP o 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2112
-\(dq\&\- /foo\(dq\& would exclude a file (or directory) named foo in the
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2113
+"\- /foo" would exclude a file (or directory) named foo in the
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2114
 transfer\-root directory
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2115
 .IP o 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2116
-\(dq\&\- foo/\(dq\& would exclude any directory named foo
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2117
+"\- foo/" would exclude any directory named foo
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2118
 .IP o 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2119
-\(dq\&\- /foo/*/bar\(dq\& would exclude any file named bar which is at two
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2120
+"\- /foo/*/bar" would exclude any file named bar which is at two
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2121
 levels below a directory named foo in the transfer\-root directory
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2122
 .IP o 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2123
-\(dq\&\- /foo/**/bar\(dq\& would exclude any file named bar two
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2124
+"\- /foo/**/bar" would exclude any file named bar two
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2125
 or more levels below a directory named foo in the transfer\-root directory
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2126
 .IP o 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2127
-The combination of \(dq\&+ */\(dq\&, \(dq\&+ *.c\(dq\&, and \(dq\&\- *\(dq\& would include all
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2128
+The combination of "+ */", "+ *.c", and "\- *" would include all
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2129
 directories and C source files but nothing else (see also the
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2130
 \fB\-\-prune\-empty\-dirs\fP option)
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2131
 .IP o 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2132
-The combination of \(dq\&+ foo/\(dq\&, \(dq\&+ foo/bar.c\(dq\&, and \(dq\&\- *\(dq\& would include
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2133
+The combination of "+ foo/", "+ foo/bar.c", and "\- *" would include
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2134
 only the foo directory and foo/bar.c (the foo directory must be
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2135
-explicitly included or it would be excluded by the \(dq\&*\(dq\&)
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2136
+explicitly included or it would be excluded by the "*")
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2137
 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2138
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2139
-The following modifiers are accepted after a \(dq\&+\(dq\& or \(dq\&\-\(dq\&:
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2140
+The following modifiers are accepted after a "+" or "\-":
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2141
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2142
 .IP o 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2143
 A \fB/\fP specifies that the include/exclude rule should be matched
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2144
 against the absolute pathname of the current item.  For example,
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2145
-\(dq\&\-/ /etc/passwd\(dq\& would exclude the passwd file any time the transfer
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2146
-was sending files from the \(dq\&/etc\(dq\& directory, and \(dq\&\-/ subdir/foo\(dq\&
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2147
-would always exclude \(dq\&foo\(dq\& when it is in a dir named \(dq\&subdir\(dq\&, even
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2148
-if \(dq\&foo\(dq\& is at the root of the current transfer.
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2149
+"\-/ /etc/passwd" would exclude the passwd file any time the transfer
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2150
+was sending files from the "/etc" directory, and "\-/ subdir/foo"
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2151
+would always exclude "foo" when it is in a dir named "subdir", even
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2152
+if "foo" is at the root of the current transfer.
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2153
 .IP o 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2154
 A \fB!\fP specifies that the include/exclude should take effect if
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2155
-the pattern fails to match.  For instance, \(dq\&\-! */\(dq\& would exclude all
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2156
+the pattern fails to match.  For instance, "\-! */" would exclude all
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2157
 non\-directories.
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2158
 .IP o 
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2159
 A \fBC\fP is used to indicate that all the global CVS\-exclude rules
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2160
-should be inserted as excludes in place of the \(dq\&\-C\(dq\&.  No arg should
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2161
+should be inserted as excludes in place of the "\-C".  No arg should
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2162
 follow.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2163
 .IP o 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2164
 An \fBs\fP is used to indicate that the rule applies to the sending
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  2165
@@ -3298,7 +3302,7 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2166
 .IP o 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2167
 A \fBp\fP indicates that a rule is perishable, meaning that it is
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2168
 ignored in directories that are being deleted.  For instance, the \fB\-C\fP
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2169
-option\(cq\&s default rules that exclude things like \(dq\&CVS\(dq\& and \(dq\&*.o\(dq\& are
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2170
+option's default rules that exclude things like "CVS" and "*.o" are
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2171
 marked as perishable, and will not prevent a directory that was removed
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2172
 on the source from being deleted on the destination.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2173
 
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  2174
@@ -3310,16 +3314,16 @@
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2175
 merge (.) or a dir\-merge (:) filter rule (as introduced in the FILTER RULES
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2176
 section above).
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2177
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2178
-There are two kinds of merged files \-\- single\-instance (\(cq\&.\(cq\&) and
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2179
-per\-directory (\(cq\&:\(cq\&).  A single\-instance merge file is read one time, and
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2180
-its rules are incorporated into the filter list in the place of the \(dq\&.\(dq\&
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2181
+There are two kinds of merged files \-\- single\-instance ('.') and
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2182
+per\-directory (':').  A single\-instance merge file is read one time, and
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2183
+its rules are incorporated into the filter list in the place of the "."
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2184
 rule.  For per\-directory merge files, rsync will scan every directory that
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2185
 it traverses for the named file, merging its contents when the file exists
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2186
 into the current list of inherited rules.  These per\-directory rule files
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2187
 must be created on the sending side because it is the sending side that is
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2188
 being scanned for the available files to transfer.  These rule files may
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2189
 also need to be transferred to the receiving side if you want them to
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2190
-affect what files don\(cq\&t get deleted (see PER\-DIRECTORY RULES AND DELETE
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2191
+affect what files don't get deleted (see PER\-DIRECTORY RULES AND DELETE
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2192
 below).
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2193
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2194
 Some examples:
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  2195
@@ -3348,27 +3352,27 @@
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2196
 patterns, with no other rule\-parsing except for in\-file comments.
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2197
 .IP o 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2198
 A \fBC\fP is a way to specify that the file should be read in a
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2199
-CVS\-compatible manner.  This turns on \(cq\&n\(cq\&, \(cq\&w\(cq\&, and \(cq\&\-\(cq\&, but also
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2200
+CVS\-compatible manner.  This turns on 'n', 'w', and '\-', but also
2708
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
  2201
 allows the list\-clearing token (!) to be specified.  If no filename is
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2202
-provided, \(dq\&.cvsignore\(dq\& is assumed.
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2203
+provided, ".cvsignore" is assumed.
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2204
 .IP o 
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2205
 A \fBe\fP will exclude the merge\-file name from the transfer; e.g.
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2206
-\(dq\&dir\-merge,e .rules\(dq\& is like \(dq\&dir\-merge .rules\(dq\& and \(dq\&\- .rules\(dq\&.
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2207
+"dir\-merge,e .rules" is like "dir\-merge .rules" and "\- .rules".
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2208
 .IP o 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2209
 An \fBn\fP specifies that the rules are not inherited by subdirectories.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2210
 .IP o 
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2211
 A \fBw\fP specifies that the rules are word\-split on whitespace instead
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2212
 of the normal line\-splitting.  This also turns off comments.  Note: the
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2213
 space that separates the prefix from the rule is treated specially, so
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2214
-\(dq\&\- foo + bar\(dq\& is parsed as two rules (assuming that prefix\-parsing wasn\(cq\&t
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2215
+"\- foo + bar" is parsed as two rules (assuming that prefix\-parsing wasn't
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2216
 also disabled).
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2217
 .IP o 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2218
-You may also specify any of the modifiers for the \(dq\&+\(dq\& or \(dq\&\-\(dq\& rules
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2219
+You may also specify any of the modifiers for the "+" or "\-" rules
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2220
 (above) in order to have the rules that are read in from the file
2708
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
  2221
 default to having that modifier set (except for the \fB!\fP modifier, which
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2222
-would not be useful).  For instance, \(dq\&merge,\-/ .excl\(dq\& would
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2223
+would not be useful).  For instance, "merge,\-/ .excl" would
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2224
 treat the contents of .excl as absolute\-path excludes,
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2225
-while \(dq\&dir\-merge,s .filt\(dq\& and \(dq\&:sC\(dq\& would each make all their
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2226
+while "dir\-merge,s .filt" and ":sC" would each make all their
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2227
 per\-directory rules apply only on the sending side.  If the merge rule
2708
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
  2228
 specifies sides to affect (via the \fBs\fP or \fBr\fP modifier or both),
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
  2229
 then the rules in the file must not specify sides (via a modifier or
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  2230
@@ -3376,22 +3380,22 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2231
 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2232
 .PP 
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2233
 Per\-directory rules are inherited in all subdirectories of the directory
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2234
-where the merge\-file was found unless the \(cq\&n\(cq\& modifier was used.  Each
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2235
-subdirectory\(cq\&s rules are prefixed to the inherited per\-directory rules
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2236
+where the merge\-file was found unless the 'n' modifier was used.  Each
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2237
+subdirectory's rules are prefixed to the inherited per\-directory rules
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2238
 from its parents, which gives the newest rules a higher priority than the
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2239
 inherited rules.  The entire set of dir\-merge rules are grouped together in
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2240
 the spot where the merge\-file was specified, so it is possible to override
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2241
 dir\-merge rules via a rule that got specified earlier in the list of global
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2242
-rules.  When the list\-clearing rule (\(dq\&!\(dq\&) is read from a per\-directory
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2243
+rules.  When the list\-clearing rule ("!") is read from a per\-directory
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2244
 file, it only clears the inherited rules for the current merge file.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2245
 .PP 
2708
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
  2246
 Another way to prevent a single rule from a dir\-merge file from being inherited is to
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
  2247
 anchor it with a leading slash.  Anchored rules in a per\-directory
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2248
-merge\-file are relative to the merge\-file\(cq\&s directory, so a pattern \(dq\&/foo\(dq\&
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2249
-would only match the file \(dq\&foo\(dq\& in the directory where the dir\-merge filter
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2250
+merge\-file are relative to the merge\-file's directory, so a pattern "/foo"
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2251
+would only match the file "foo" in the directory where the dir\-merge filter
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2252
 file was found.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2253
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2254
-Here\(cq\&s an example filter file which you\(cq\&d specify via \fB\-\-filter=\(dq\&. file\(dq\&:\fP
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2255
+Here's an example filter file which you'd specify via \fB\-\-filter=". file":\fP
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2256
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2257
 .RS 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2258
 \f(CWmerge /home/user/.global\-filter\fP
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  2259
@@ -3408,7 +3412,7 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2260
 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2261
 .PP 
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2262
 This will merge the contents of the /home/user/.global\-filter file at the
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2263
-start of the list and also turns the \(dq\&.rules\(dq\& filename into a per\-directory
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2264
+start of the list and also turns the ".rules" filename into a per\-directory
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2265
 filter file.  All rules read in prior to the start of the directory scan
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2266
 follow the global anchoring rules (i.e. a leading slash matches at the root
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2267
 of the transfer).
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  2268
@@ -3419,7 +3423,7 @@
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2269
 per\-directory file.  For instance, here is a common filter (see \fB\-F\fP):
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2270
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2271
 .RS 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2272
-\f(CW\-\-filter='\&: /.rsync\-filter'\&\fP
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2273
+\f(CW\-\-filter=': /.rsync\-filter'\fP
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2274
 .RE
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2275
 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2276
 .PP 
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  2277
@@ -3427,38 +3431,38 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2278
 directories from the root down through the parent directory of the
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2279
 transfer prior to the start of the normal directory scan of the file in
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2280
 the directories that are sent as a part of the transfer.  (Note: for an
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2281
-rsync daemon, the root is always the same as the module\(cq\&s \(dq\&path\(dq\&.)
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2282
+rsync daemon, the root is always the same as the module's "path".)
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2283
 .PP 
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2284
 Some examples of this pre\-scanning for per\-directory files:
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2285
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2286
 .RS 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2287
 \f(CWrsync \-avF /src/path/ /dest/dir\fP
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2288
 .br 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2289
-\f(CWrsync \-av \-\-filter='\&: ../../.rsync\-filter'\& /src/path/ /dest/dir\fP
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2290
+\f(CWrsync \-av \-\-filter=': ../../.rsync\-filter' /src/path/ /dest/dir\fP
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2291
 .br 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2292
-\f(CWrsync \-av \-\-filter='\&: .rsync\-filter'\& /src/path/ /dest/dir\fP
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2293
+\f(CWrsync \-av \-\-filter=': .rsync\-filter' /src/path/ /dest/dir\fP
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2294
 .br 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2295
 .RE
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2296
 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2297
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2298
-The first two commands above will look for \(dq\&.rsync\-filter\(dq\& in \(dq\&/\(dq\& and
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2299
-\(dq\&/src\(dq\& before the normal scan begins looking for the file in \(dq\&/src/path\(dq\&
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2300
+The first two commands above will look for ".rsync\-filter" in "/" and
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2301
+"/src" before the normal scan begins looking for the file in "/src/path"
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2302
 and its subdirectories.  The last command avoids the parent\-dir scan
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2303
-and only looks for the \(dq\&.rsync\-filter\(dq\& files in each directory that is
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2304
+and only looks for the ".rsync\-filter" files in each directory that is
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2305
 a part of the transfer.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2306
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2307
-If you want to include the contents of a \(dq\&.cvsignore\(dq\& in your patterns,
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2308
-you should use the rule \(dq\&:C\(dq\&, which creates a dir\-merge of the .cvsignore
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2309
+If you want to include the contents of a ".cvsignore" in your patterns,
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2310
+you should use the rule ":C", which creates a dir\-merge of the .cvsignore
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2311
 file, but parsed in a CVS\-compatible manner.  You can
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2312
-use this to affect where the \fB\-\-cvs\-exclude\fP (\fB\-C\fP) option\(cq\&s inclusion of the
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2313
+use this to affect where the \fB\-\-cvs\-exclude\fP (\fB\-C\fP) option's inclusion of the
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2314
 per\-directory .cvsignore file gets placed into your rules by putting the
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2315
-\(dq\&:C\(dq\& wherever you like in your filter rules.  Without this, rsync would
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2316
+":C" wherever you like in your filter rules.  Without this, rsync would
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2317
 add the dir\-merge rule for the .cvsignore file at the end of all your other
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2318
 rules (giving it a lower priority than your command\-line rules).  For
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2319
 example:
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2320
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2321
 .RS 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2322
-\f(CWcat <<EOT | rsync \-avC \-\-filter='\&. \-'\& a/ b\fP
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2323
+\f(CWcat <<EOT | rsync \-avC \-\-filter='. \-' a/ b\fP
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2324
 .br 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2325
 \f(CW+ foo.o\fP
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2326
 .br 
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  2327
@@ -3468,7 +3472,7 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2328
 .br 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2329
 \f(CWEOT\fP
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2330
 .br 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2331
-\f(CWrsync \-avC \-\-include=foo.o \-f :C \-\-exclude='\&*.old'\& a/ b\fP
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2332
+\f(CWrsync \-avC \-\-include=foo.o \-f :C \-\-exclude='*.old' a/ b\fP
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2333
 .br 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2334
 .RE
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2335
 
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  2336
@@ -3479,25 +3483,25 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2337
 that follow the :C instead of being subservient to all your rules.  To
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2338
 affect the other CVS exclude rules (i.e. the default list of exclusions,
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2339
 the contents of $HOME/.cvsignore, and the value of $CVSIGNORE) you should
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2340
-omit the \fB\-C\fP command\-line option and instead insert a \(dq\&\-C\(dq\& rule into
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2341
-your filter rules; e.g. \(dq\&\fB\-\-filter=\-C\fP\(dq\&.
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2342
+omit the \fB\-C\fP command\-line option and instead insert a "\-C" rule into
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2343
+your filter rules; e.g. "\fB\-\-filter=\-C\fP".
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2344
 .PP 
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2345
 .SH "LIST\-CLEARING FILTER RULE"
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2346
 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2347
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2348
-You can clear the current include/exclude list by using the \(dq\&!\(dq\& filter
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2349
-rule (as introduced in the FILTER RULES section above).  The \(dq\&current\(dq\&
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2350
+You can clear the current include/exclude list by using the "!" filter
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2351
+rule (as introduced in the FILTER RULES section above).  The "current"
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2352
 list is either the global list of rules (if the rule is encountered while
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2353
 parsing the filter options) or a set of per\-directory rules (which are
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2354
 inherited in their own sub\-list, so a subdirectory can use this to clear
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2355
-out the parent\(cq\&s rules).
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2356
+out the parent's rules).
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2357
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2358
 .SH "ANCHORING INCLUDE/EXCLUDE PATTERNS"
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2359
 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2360
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2361
 As mentioned earlier, global include/exclude patterns are anchored at the
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2362
-\(dq\&root of the transfer\(dq\& (as opposed to per\-directory patterns, which are
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2363
-anchored at the merge\-file\(cq\&s directory).  If you think of the transfer as
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2364
+"root of the transfer" (as opposed to per\-directory patterns, which are
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2365
+anchored at the merge\-file's directory).  If you think of the transfer as
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2366
 a subtree of names that are being sent from sender to receiver, the
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2367
 transfer\-root is where the tree starts to be duplicated in the destination
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2368
 directory.  This root governs where patterns that start with a / match.
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  2369
@@ -3508,8 +3512,8 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2370
 changing how much of the file tree is duplicated on the destination
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2371
 host).  The following examples demonstrate this.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2372
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2373
-Let\(cq\&s say that we want to match two source files, one with an absolute
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2374
-path of \(dq\&/home/me/foo/bar\(dq\&, and one with a path of \(dq\&/home/you/bar/baz\(dq\&.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2375
+Let's say that we want to match two source files, one with an absolute
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2376
+path of "/home/me/foo/bar", and one with a path of "/home/you/bar/baz".
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2377
 Here is how the various command choices differ for a 2\-source transfer:
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2378
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2379
 .RS 
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  2380
@@ -3529,9 +3533,9 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2381
 .RS 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2382
 Example cmd: rsync \-a /home/me/ /home/you/ /dest 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2383
 .br 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2384
-+/\- pattern: /foo/bar               (note missing \(dq\&me\(dq\&) 
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2385
++/\- pattern: /foo/bar               (note missing "me") 
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2386
 .br 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2387
-+/\- pattern: /bar/baz               (note missing \(dq\&you\(dq\&) 
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2388
++/\- pattern: /bar/baz               (note missing "you") 
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2389
 .br 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2390
 Target file: /dest/foo/bar 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2391
 .br 
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  2392
@@ -3570,26 +3574,26 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2393
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2394
 The easiest way to see what name you should filter is to just
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2395
 look at the output when using \fB\-\-verbose\fP and put a / in front of the name
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2396
-(use the \fB\-\-dry\-run\fP option if you\(cq\&re not yet ready to copy any files).
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2397
+(use the \fB\-\-dry\-run\fP option if you're not yet ready to copy any files).
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2398
 .PP 
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2399
 .SH "PER\-DIRECTORY RULES AND DELETE"
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2400
 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2401
 .PP 
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2402
 Without a delete option, per\-directory rules are only relevant on the
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2403
 sending side, so you can feel free to exclude the merge files themselves
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2404
-without affecting the transfer.  To make this easy, the \(cq\&e\(cq\& modifier adds
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2405
+without affecting the transfer.  To make this easy, the 'e' modifier adds
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2406
 this exclude for you, as seen in these two equivalent commands:
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2407
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2408
 .RS 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2409
-\f(CWrsync \-av \-\-filter='\&: .excl'\& \-\-exclude=.excl host:src/dir /dest\fP
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2410
+\f(CWrsync \-av \-\-filter=': .excl' \-\-exclude=.excl host:src/dir /dest\fP
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2411
 .br 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2412
-\f(CWrsync \-av \-\-filter='\&:e .excl'\& host:src/dir /dest\fP
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2413
+\f(CWrsync \-av \-\-filter=':e .excl' host:src/dir /dest\fP
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2414
 .br 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2415
 .RE
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2416
 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2417
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2418
 However, if you want to do a delete on the receiving side AND you want some
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2419
-files to be excluded from being deleted, you\(cq\&ll need to be sure that the
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2420
+files to be excluded from being deleted, you'll need to be sure that the
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2421
 receiving side knows what files to exclude.  The easiest way is to include
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2422
 the per\-directory merge files in the transfer and use \fB\-\-delete\-after\fP,
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2423
 because this ensures that the receiving side gets all the same exclude
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  2424
@@ -3600,14 +3604,14 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2425
 .RE
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2426
 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2427
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2428
-However, if the merge files are not a part of the transfer, you\(cq\&ll need to
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2429
+However, if the merge files are not a part of the transfer, you'll need to
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2430
 either specify some global exclude rules (i.e. specified on the command
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2431
-line), or you\(cq\&ll need to maintain your own per\-directory merge files on
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2432
+line), or you'll need to maintain your own per\-directory merge files on
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2433
 the receiving side.  An example of the first is this (assume that the
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2434
 remote .rules files exclude themselves):
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2435
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2436
 .nf 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2437
-rsync \-av \-\-filter=\(cq\&: .rules\(cq\& \-\-filter=\(cq\&. /my/extra.rules\(cq\&
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2438
+rsync \-av \-\-filter=': .rules' \-\-filter='. /my/extra.rules'
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2439
    \-\-delete host:src/dir /dest
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2440
 .fi 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2441
 
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  2442
@@ -3620,12 +3624,12 @@
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2443
 In one final example, the remote side is excluding the .rsync\-filter
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2444
 files from the transfer, but we want to use our own .rsync\-filter files
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2445
 to control what gets deleted on the receiving side.  To do this we must
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2446
-specifically exclude the per\-directory merge files (so that they don\(cq\&t get
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2447
+specifically exclude the per\-directory merge files (so that they don't get
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2448
 deleted) and then put rules into the local files to control what else
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2449
 should not get deleted.  Like one of these commands:
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2450
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2451
 .nf 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2452
-    rsync \-av \-\-filter='\&:e /.rsync\-filter'\& \-\-delete \e 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2453
+    rsync \-av \-\-filter=':e /.rsync\-filter' \-\-delete \e 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2454
         host:src/dir /dest
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2455
     rsync \-avFF \-\-delete host:src/dir /dest
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2456
 .fi 
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  2457
@@ -3641,7 +3645,7 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2458
 hosts. In order to do this using batch mode, rsync is run with the
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2459
 write\-batch option to apply the changes made to the source tree to one
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2460
 of the destination trees.  The write\-batch option causes the rsync
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2461
-client to store in a \(dq\&batch file\(dq\& all the information needed to repeat
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2462
+client to store in a "batch file" all the information needed to repeat
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2463
 this operation against other, identical destination trees.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2464
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2465
 Generating the batch file once saves having to perform the file
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  2466
@@ -3656,7 +3660,7 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2467
 using the information stored in the batch file.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2468
 .PP 
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2469
 For your convenience, a script file is also created when the write\-batch
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2470
-option is used:  it will be named the same as the batch file with \(dq\&.sh\(dq\&
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2471
+option is used:  it will be named the same as the batch file with ".sh"
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2472
 appended.  This script file contains a command\-line suitable for updating a
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2473
 destination tree using the associated batch file. It can be executed using
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2474
 a Bourne (or Bourne\-like) shell, optionally passing in an alternate
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  2475
@@ -3685,25 +3689,25 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2476
 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2477
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2478
 In these examples, rsync is used to update /adest/dir/ from /source/dir/
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2479
-and the information to repeat this operation is stored in \(dq\&foo\(dq\& and
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2480
-\(dq\&foo.sh\(dq\&.  The host \(dq\&remote\(dq\& is then updated with the batched data going
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2481
+and the information to repeat this operation is stored in "foo" and
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2482
+"foo.sh".  The host "remote" is then updated with the batched data going
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2483
 into the directory /bdest/dir.  The differences between the two examples
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2484
 reveals some of the flexibility you have in how you deal with batches:
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2485
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2486
 .IP o 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2487
-The first example shows that the initial copy doesn\(cq\&t have to be
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2488
+The first example shows that the initial copy doesn't have to be
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2489
 local \-\- you can push or pull data to/from a remote host using either the
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2490
 remote\-shell syntax or rsync daemon syntax, as desired.
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2491
 .IP o 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2492
-The first example uses the created \(dq\&foo.sh\(dq\& file to get the right
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2493
+The first example uses the created "foo.sh" file to get the right
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2494
 rsync options when running the read\-batch command on the remote host.
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2495
 .IP o 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2496
 The second example reads the batch data via standard input so that
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2497
-the batch file doesn\(cq\&t need to be copied to the remote machine first.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2498
+the batch file doesn't need to be copied to the remote machine first.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2499
 This example avoids the foo.sh script because it needed to use a modified
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2500
 \fB\-\-read\-batch\fP option, but you could edit the script file if you wished to
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2501
 make use of it (just be sure that no other option is trying to use
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2502
-standard input, such as the \(dq\&\fB\-\-exclude\-from=\-\fP\(dq\& option).
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2503
+standard input, such as the "\fB\-\-exclude\-from=\-\fP" option).
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2504
 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2505
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2506
 Caveats:
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  2507
@@ -3716,7 +3720,7 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2508
 and then, if the file fails to verify, the update discarded with an
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2509
 error.  This means that it should be safe to re\-run a read\-batch operation
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2510
 if the command got interrupted.  If you wish to force the batched\-update to
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2511
-always be attempted regardless of the file\(cq\&s size and date, use the \fB\-I\fP
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2512
+always be attempted regardless of the file's size and date, use the \fB\-I\fP
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2513
 option (when reading the batch).
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2514
 If an error occurs, the destination tree will probably be in a
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2515
 partially updated state. In that case, rsync can
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  2516
@@ -3732,7 +3736,7 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2517
 older than that with newer versions will not work.)
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2518
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2519
 When reading a batch file, rsync will force the value of certain options
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2520
-to match the data in the batch file if you didn\(cq\&t set them to the same
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2521
+to match the data in the batch file if you didn't set them to the same
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2522
 as the batch\-writing command.  Other options can (and should) be changed.
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2523
 For instance \fB\-\-write\-batch\fP changes to \fB\-\-read\-batch\fP,
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2524
 \fB\-\-files\-from\fP is dropped, and the
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  2525
@@ -3740,13 +3744,13 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2526
 one of the \fB\-\-delete\fP options is specified.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2527
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2528
 The code that creates the BATCH.sh file transforms any filter/include/exclude
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2529
-options into a single list that is appended as a \(dq\&here\(dq\& document to the
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2530
+options into a single list that is appended as a "here" document to the
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2531
 shell script file.  An advanced user can use this to modify the exclude
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2532
 list if a change in what gets deleted by \fB\-\-delete\fP is desired.  A normal
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2533
 user can ignore this detail and just use the shell script as an easy way
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2534
 to run the appropriate \fB\-\-read\-batch\fP command for the batched data.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2535
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2536
-The original batch mode in rsync was based on \(dq\&rsync+\(dq\&, but the latest
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2537
+The original batch mode in rsync was based on "rsync+", but the latest
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2538
 version uses a new implementation.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2539
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2540
 .SH "SYMBOLIC LINKS"
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  2541
@@ -3756,16 +3760,16 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2542
 link in the source directory.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2543
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2544
 By default, symbolic links are not transferred at all.  A message
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2545
-\(dq\&skipping non\-regular\(dq\& file is emitted for any symlinks that exist.
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2546
+"skipping non\-regular" file is emitted for any symlinks that exist.
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2547
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2548
 If \fB\-\-links\fP is specified, then symlinks are recreated with the same
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2549
 target on the destination.  Note that \fB\-\-archive\fP implies
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2550
 \fB\-\-links\fP.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2551
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2552
-If \fB\-\-copy\-links\fP is specified, then symlinks are \(dq\&collapsed\(dq\& by
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2553
+If \fB\-\-copy\-links\fP is specified, then symlinks are "collapsed" by
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2554
 copying their referent, rather than the symlink.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2555
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2556
-Rsync can also distinguish \(dq\&safe\(dq\& and \(dq\&unsafe\(dq\& symbolic links.  An
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2557
+Rsync can also distinguish "safe" and "unsafe" symbolic links.  An
2708
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
  2558
 example where this might be used is a web site mirror that wishes to
0671d3e048aa 15752593 SUNBT7107925 bump rsync to 3.0.9
klauw <ken.lauw@oracle.com>
parents: 297
diff changeset
  2559
 ensure that the rsync module that is copied does not include symbolic links to
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2560
 \fB/etc/passwd\fP in the public section of the site.  Using
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  2561
@@ -3775,11 +3779,11 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2562
 \fB\-\-links\fP for \fB\-\-safe\-links\fP to have any effect.)
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2563
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2564
 Symbolic links are considered unsafe if they are absolute symlinks
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2565
-(start with \fB/\fP), empty, or if they contain enough \(dq\&..\(dq\&
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2566
+(start with \fB/\fP), empty, or if they contain enough ".."
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2567
 components to ascend from the directory being copied.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2568
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2569
-Here\(cq\&s a summary of how the symlink options are interpreted.  The list is
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2570
-in order of precedence, so if your combination of options isn\(cq\&t mentioned,
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2571
+Here's a summary of how the symlink options are interpreted.  The list is
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2572
+in order of precedence, so if your combination of options isn't mentioned,
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2573
 use the first line that is a complete subset of your options:
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2574
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2575
 .IP "\fB\-\-copy\-links\fP"
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  2576
@@ -3805,8 +3809,8 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2577
 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2578
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2579
 rsync occasionally produces error messages that may seem a little
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2580
-cryptic. The one that seems to cause the most confusion is \(dq\&protocol
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2581
-version mismatch \-\- is your shell clean?\(dq\&.
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2582
+cryptic. The one that seems to cause the most confusion is "protocol
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2583
+version mismatch \-\- is your shell clean?".
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2584
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2585
 This message is usually caused by your startup scripts or remote shell
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2586
 facility producing unwanted garbage on the stream that rsync is using
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  2587
@@ -3906,13 +3910,13 @@
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2588
 password allows you to run authenticated rsync connections to an rsync
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2589
 daemon without user intervention. Note that this does not supply a
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2590
 password to a remote shell transport such as ssh; to learn how to do that,
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2591
-consult the remote shell\(cq\&s documentation.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2592
+consult the remote shell's documentation.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2593
 .IP "\fBUSER\fP or \fBLOGNAME\fP"
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2594
 The USER or LOGNAME environment variables
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2595
 are used to determine the default username sent to an rsync daemon.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2596
-If neither is set, the username defaults to \(dq\&nobody\(dq\&.
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2597
+If neither is set, the username defaults to "nobody".
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2598
 .IP "\fBHOME\fP"
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2599
-The HOME environment variable is used to find the user\(cq\&s
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2600
+The HOME environment variable is used to find the user's
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2601
 default .cvsignore file.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2602
 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2603
 .PP 
4255
3c054cb83142 20524211 update rsync to 3.1.1
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents: 3071
diff changeset
  2604
@@ -3987,7 +3991,7 @@
3071
b3248af1296a 18414592 update rsync to 3.1.0
Danek Duvall <danek.duvall@oracle.com>
parents: 2708
diff changeset
  2605
 gone\-but\-not\-forgotten compadre, J.W. Schultz.
297
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2606
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2607
 Thanks also to Richard Brent, Brendan Mackay, Bill Waite, Stephen Rothwell
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2608
-and David Bell.  I\(cq\&ve probably missed some people, my apologies if I have.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2609
+and David Bell.  I've probably missed some people, my apologies if I have.
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2610
 .PP 
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2611
 .SH "AUTHOR"
3940bc347ca8 7034286 Problem with utility/rsync (fix patches)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 296
diff changeset
  2612