2
2
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:
Thor77 2016-04-16 22:07:36 +02:00
parent 9644399074
commit 4fb6669196

View File

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