mirror of
https://github.com/octoleo/restic.git
synced 2024-11-28 07:46:36 +00:00
Link to Go Match syntax directly in 040_backup.rst
The docs linked to filepath.Glob (which is used) but the syntax is described in the documentation of filepath.Match. So it makes sense to link that directly.
This commit is contained in:
parent
8b08b522c9
commit
b07afa9b02
@ -381,8 +381,8 @@ contains one *pattern* per line. The file must be encoded as UTF-8, or UTF-16
|
|||||||
with a byte-order mark. Leading and trailing whitespace is removed from the
|
with a byte-order mark. Leading and trailing whitespace is removed from the
|
||||||
patterns. Empty lines and lines starting with a ``#`` are ignored and each
|
patterns. Empty lines and lines starting with a ``#`` are ignored and each
|
||||||
pattern is expanded when read, such that special characters in it are expanded
|
pattern is expanded when read, such that special characters in it are expanded
|
||||||
using the Go function `filepath.Glob <https://pkg.go.dev/path/filepath#Glob>`__
|
according to the syntax described in the documentation of the Go function
|
||||||
- please see its documentation for the syntax you can use in the patterns.
|
`filepath.Match <https://pkg.go.dev/path/filepath#Match>`__.
|
||||||
|
|
||||||
The argument passed to ``--files-from-verbatim`` must be the name of a text file
|
The argument passed to ``--files-from-verbatim`` must be the name of a text file
|
||||||
that contains one *path* per line, e.g. as generated by GNU ``find`` with the
|
that contains one *path* per line, e.g. as generated by GNU ``find`` with the
|
||||||
|
Loading…
Reference in New Issue
Block a user