summaryrefslogtreecommitdiffstats
path: root/docs/man/borg-patterns.1
diff options
context:
space:
mode:
authorThomas Waldmann <tw@waldmann-edv.de>2019-11-01 18:21:26 +0100
committerThomas Waldmann <tw@waldmann-edv.de>2019-11-01 18:22:58 +0100
commit451c4dd5de58168476909b29aec187752513d276 (patch)
treea971e2d5e92ce16ff21549d5276357f89727fe7e /docs/man/borg-patterns.1
parent454dbfcaeae84892a9f8ed62e302a072fdb0dd2c (diff)
build_man
Diffstat (limited to 'docs/man/borg-patterns.1')
-rw-r--r--docs/man/borg-patterns.112
1 files changed, 11 insertions, 1 deletions
diff --git a/docs/man/borg-patterns.1 b/docs/man/borg-patterns.1
index 66c2d6dd7..a0eacab34 100644
--- a/docs/man/borg-patterns.1
+++ b/docs/man/borg-patterns.1
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
-.TH BORG-PATTERNS 1 "2019-09-06" "" "borg backup tool"
+.TH BORG-PATTERNS 1 "2019-11-01" "" "borg backup tool"
.SH NAME
borg-patterns \- Details regarding patterns
.
@@ -170,6 +170,16 @@ may specify the backup roots (starting points) and patterns for inclusion/exclus
A root path starts with the prefix \fIR\fP, followed by a path (a plain path, not a
file pattern). An include rule starts with the prefix +, an exclude rule starts
with the prefix \-, an exclude\-norecurse rule starts with !, all followed by a pattern.
+.sp
+\fBNOTE:\fP
+.INDENT 0.0
+.INDENT 3.5
+Via \fB\-\-pattern\fP or \fB\-\-patterns\-from\fP you can define BOTH inclusion and exclusion
+of files using pattern prefixes \fB+\fP and \fB\-\fP\&. With \fB\-\-exclude\fP and
+\fB\-\-exlude\-from\fP ONLY excludes are defined.
+.UNINDENT
+.UNINDENT
+.sp
Inclusion patterns are useful to include paths that are contained in an excluded
path. The first matching pattern is used so if an include pattern matches before
an exclude pattern, the file is backed up. If an exclude\-norecurse pattern matches