diff options
author | Job Snijders <job@cvs.openbsd.org> | 2021-08-30 20:25:25 +0000 |
---|---|---|
committer | Job Snijders <job@cvs.openbsd.org> | 2021-08-30 20:25:25 +0000 |
commit | 45467fa81a198dc9cb67a19eaff8fab2106d581c (patch) | |
tree | 7ece45dde62d9fa68806d87ac94e5c61668a82e7 /usr.bin | |
parent | 109d1bb1f6abfc8e0ef7ce31bc100d490e1b0f37 (diff) |
Document new include*/exclude* options in the man page
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/rsync/rsync.1 | 29 |
1 files changed, 27 insertions, 2 deletions
diff --git a/usr.bin/rsync/rsync.1 b/usr.bin/rsync/rsync.1 index cf7aecf7c1d..06d4ec606d6 100644 --- a/usr.bin/rsync/rsync.1 +++ b/usr.bin/rsync/rsync.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: rsync.1,v 1.24 2021/03/31 20:36:05 jmc Exp $ +.\" $OpenBSD: rsync.1,v 1.25 2021/08/30 20:25:24 job 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: March 31 2021 $ +.Dd $Mdocdate: August 30 2021 $ .Dt OPENRSYNC 1 .Os .Sh NAME @@ -26,6 +26,10 @@ .Op Fl e Ar program .Op Fl -address Ns = Ns Ar sourceaddr .Op Fl -del +.Op Fl -exclude Ar pattern +.Op Fl -exclude-from Ns = Ns Ar file +.Op Fl -include Ar pattern +.Op Fl -include-from Ns = Ns Ar file .Op Fl -no-motd .Op Fl -numeric-ids .Op Fl -port Ns = Ns Ar service @@ -70,6 +74,26 @@ not found in directories. Only applicable with .Fl r . +.It Fl -exclude Ar pattern +Exclude files matching +.Em pattern . +.It Fl -exclude-from Ns = Ns Ar file +Load +.Em patterns +and +.Em rules +from +.Em file . +.It Fl -include Ar pattern +Include files matching +.Em pattern . +.It Fl -include-from Ns = Ns Ar file +Load +.Em patterns +and +.Em rules +from +.Em file . .It Fl -devices Also transfer device files. .It Fl e Ar program , Fl -rsh Ns = Ns Ar program @@ -210,6 +234,7 @@ or symbolic links The destination .Ar directory must be a directory and is created if not found. +.\" .Sh PATTERNS AND RULES .\" .Sh ENVIRONMENT .\" .Sh FILES .Sh EXIT STATUS |