1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2024-12-24 00:37:28 +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:
Michael Eischer 2024-02-02 18:40:13 +00:00 committed by GitHub
commit cbf9cd4a7f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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