summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Benoit <benno@cvs.openbsd.org>2019-02-12 19:16:42 +0000
committerSebastian Benoit <benno@cvs.openbsd.org>2019-02-12 19:16:42 +0000
commitf5bfeb5003876905d5d13d26aaf6e2748422d039 (patch)
treefb9c550850066bd63215eff0d0de727fd80ca0a7
parent0d19b965e986b61ef40bb18ad2c2a810a987f438 (diff)
sync
commit f873b5df40da4513393b87070afa26d037cf3acd Author: kristaps <> Date: Tue Feb 12 07:48:15 2019 +0000 Document -g in manpage.
-rw-r--r--usr.bin/rsync/rsync.115
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