From abce2eeab8f51532f4515ecabecb5d168b02296b Mon Sep 17 00:00:00 2001 From: Guinness Date: Mon, 30 Nov 2020 16:22:57 +0100 Subject: [PATCH] Complements the documentation for pattern files and exclude files --- src/borg/archiver.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/borg/archiver.py b/src/borg/archiver.py index b0e425a8ff..756fc086ea 100644 --- a/src/borg/archiver.py +++ b/src/borg/archiver.py @@ -2320,8 +2320,10 @@ def do_break_lock(self, args, repository): /home/*/junk *.tmp fm:aa:something/* - re:^/home/[^/]\\.tmp/ - sh:/home/*/.thumbnails + 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 / @@ -3307,6 +3309,7 @@ def define_archive_filters_group(subparser, *, sort_by=True, first_last=True): 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