mirror of
https://github.com/octoleo/restic.git
synced 2024-11-22 21:05:10 +00:00
040_backup.rst: quote wildcard characters
This doesn't really matter for --exclude in most cases, but it avoids spreading bad ideas.
This commit is contained in:
parent
0279fd7212
commit
624a2d8305
@ -93,7 +93,7 @@ Basic example:
|
||||
*.go
|
||||
# exclude foo/x/y/z/bar foo/x/bar foo/bar
|
||||
foo/**/bar
|
||||
$ restic -r /tmp/backup backup ~/work --exclude=*.c --exclude-file=exclude
|
||||
$ restic -r /tmp/backup backup ~/work --exclude="*.c" --exclude-file=exclude
|
||||
|
||||
Please see ``restic help backup`` for more specific information about each exclude option.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user