mirror of
https://github.com/octoleo/restic.git
synced 2024-11-22 04:45:15 +00:00
Merge pull request #4670 from joram-berger/patch-1
Link to Go Match syntax directly in 040_backup.rst
This commit is contained in:
commit
cbf9cd4a7f
@ -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