From 624a2d830589c058d32e9a3df22ef4d08e87b699 Mon Sep 17 00:00:00 2001 From: Oliver Gerlich Date: Sun, 18 Mar 2018 17:05:53 +0100 Subject: [PATCH] 040_backup.rst: quote wildcard characters This doesn't really matter for --exclude in most cases, but it avoids spreading bad ideas. --- doc/040_backup.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/040_backup.rst b/doc/040_backup.rst index 00b1b11d2..44cc9be96 100644 --- a/doc/040_backup.rst +++ b/doc/040_backup.rst @@ -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.