docs: client: file exclusion: add note about leading slash

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>
This commit is contained in:
Fabian Ebner 2022-03-28 10:16:34 +02:00 committed by Thomas Lamprecht
parent 2b323a359d
commit b2df21bb02
1 changed files with 3 additions and 0 deletions

View File

@ -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.