diff options
-rw-r--r-- | usr.bin/rsync/rsync.1 | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/usr.bin/rsync/rsync.1 b/usr.bin/rsync/rsync.1 index 3a843467dce..3ee5c4548f2 100644 --- a/usr.bin/rsync/rsync.1 +++ b/usr.bin/rsync/rsync.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: rsync.1,v 1.2 2019/02/10 23:24:14 benno Exp $ +.\" $OpenBSD: rsync.1,v 1.3 2019/02/12 19:16:41 benno Exp $ .\" .\" Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv> .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: February 10 2019 $ +.Dd $Mdocdate: February 12 2019 $ .Dt RSYNC 1 .Os .Sh NAME @@ -22,7 +22,7 @@ .Nd synchronise local and remote files .Sh SYNOPSIS .Nm rsync -.Op Fl lnprtv +.Op Fl glnprtv .Op Fl -delete .Op Fl -rsync-path Ar prog .Ar source ... @@ -43,6 +43,15 @@ may be remote, but not both. The arguments are as follows: .Bl -tag -width Ds +.It Fl g +Set group identifier to match the source. +Groups are matched by name: group +.Qq kristaps +with id 1000 on a remote server will be properly assigned group +.Qq kristaps +on the local machine with id 2000. +If the sender's group is unknown on the local machine, it is used +verbatim. .It Fl l Transfer symbolic links. The link is transferred as a standalone file: if the destination does |