* [pbs-devel] [PATCH proxmox-backup] docs: client: file exclusion: add note about leading slash
@ 2022-03-28 8:16 Fabian Ebner
2022-04-06 15:01 ` [pbs-devel] applied: " Thomas Lamprecht
0 siblings, 1 reply; 2+ messages in thread
From: Fabian Ebner @ 2022-03-28 8:16 UTC (permalink / raw)
To: pbs-devel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-04-06 15:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-28 8:16 [pbs-devel] [PATCH proxmox-backup] docs: client: file exclusion: add note about leading slash Fabian Ebner
2022-04-06 15:01 ` [pbs-devel] applied: " Thomas Lamprecht
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox