mirror of https://github.com/borgbackup/borg.git
Also mention that the matching pattern can be absolute
This commit is contained in:
parent
b44193d82b
commit
81b8a5ade1
|
@ -23,7 +23,8 @@ recursion root, but (since 1.2) with any leading / or ../ removed. If you give
|
|||
``absolute/path``. If you wanted to exclude e.g.
|
||||
``/absolute/path/logs/*.log``, the pattern ``logs/*.log`` would not match; you
|
||||
must use ``absolute/path/logs/*.log`` or ``**/logs/*.log`` (using ``sh``
|
||||
patterns).
|
||||
patterns). Since the leading path separator is stripped in patterns,
|
||||
``/absolute/path/logs/*.log`` will also match (and is clearest).
|
||||
|
||||
The recursion root is also named ``PATH`` in Borg commands like `borg create`
|
||||
that do a file discovery, so do not confuse the root with the ``PATH``
|
||||
|
|
Loading…
Reference in New Issue