From 2c8e5238484acd887e9f6c8eb6437bea0e14c9d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nehalenni=C3=A6=20Oudin?= Date: Sun, 29 Nov 2020 18:01:38 +0100 Subject: [PATCH] Complements the documentation for pattern files and exclude files (#5520) docs: "filename with spaces" example added to exclude file, fixes #5236 note: no whitespace escaping needed, processed by borg. --- src/borg/archiver.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/borg/archiver.py b/src/borg/archiver.py index 14fd3057f..8f5d3abe2 100644 --- a/src/borg/archiver.py +++ b/src/borg/archiver.py @@ -2227,6 +2227,8 @@ class Archiver: fm:aa:something/* re:^home/[^/]\\.tmp/ sh:home/*/.thumbnails + # Example with spaces, no need to escape as it is processed by borg + some file with spaces.txt EOF $ borg create --exclude-from exclude.txt backup / @@ -3106,6 +3108,7 @@ class Archiver: exclusive because the data is not actually compressed and deduplicated during a dry run. See the output of the "borg help patterns" command for more help on exclude patterns. + See the output of the "borg help placeholders" command for more help on placeholders. .. man NOTES