From: Fabian Ebner <f.ebner@proxmox.com>
To: pbs-devel@lists.proxmox.com
Subject: [pbs-devel] [PATCH proxmox-backup] docs: client: file exclusion: add note about leading slash
Date: Mon, 28 Mar 2022 10:16:34 +0200 [thread overview]
Message-ID: <20220328081634.62024-1-f.ebner@proxmox.com> (raw)
It's not documented yet and not intuitive:
https://forum.proxmox.com/threads/98810
https://forum.proxmox.com/threads/107143
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
---
docs/backup-client.rst | 3 +++
1 file changed, 3 insertions(+)
diff --git a/docs/backup-client.rst b/docs/backup-client.rst
index 3af40b3a..b115b368 100644
--- a/docs/backup-client.rst
+++ b/docs/backup-client.rst
@@ -175,6 +175,9 @@ Lines ending in ``/`` match only on directories.
The directory containing the ``.pxarexclude`` file is considered to be the root of
the given patterns. It is only possible to match files in this directory and its subdirectories.
+.. Note:: Patterns without a leading ``/`` will also match in subdirectories,
+ while patterns with a leading ``/`` will only match in the current directory.
+
``\`` is used to escape special glob characters.
``?`` matches any single character.
``*`` matches any character, including an empty string.
--
2.30.2
next reply other threads:[~2022-03-28 8:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-28 8:16 Fabian Ebner [this message]
2022-04-06 15:01 ` [pbs-devel] applied: " Thomas Lamprecht
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220328081634.62024-1-f.ebner@proxmox.com \
--to=f.ebner@proxmox.com \
--cc=pbs-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal