mirror of
https://github.com/octoleo/restic.git
synced 2024-11-29 16:23:59 +00:00
add documentation for environment-var expanding in exclude-files
This commit is contained in:
parent
9644399074
commit
4fb6669196
@ -180,6 +180,7 @@ Either specify them with multiple `--exclude`'s or one `--exclude-file`
|
|||||||
Patterns use [`filepath.Glob`](https://golang.org/pkg/path/filepath/#Glob) internally,
|
Patterns use [`filepath.Glob`](https://golang.org/pkg/path/filepath/#Glob) internally,
|
||||||
see [`filepath.Match`](https://golang.org/pkg/path/filepath/#Match) for syntax.
|
see [`filepath.Match`](https://golang.org/pkg/path/filepath/#Match) for syntax.
|
||||||
Additionally `**` exludes arbitrary subdirectories.
|
Additionally `**` exludes arbitrary subdirectories.
|
||||||
|
Environment-variables in exclude-files are expanded with [`os.ExpandEnv`](https://golang.org/pkg/os/#ExpandEnv).
|
||||||
|
|
||||||
# List all snapshots
|
# List all snapshots
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user