Browse Source

Merge pull request #5881 from KN4CK3R/1.1-maint

Docs backport to 1.1-maint
TW 4 years ago
parent
commit
71ac03170d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/borg/archiver.py

+ 2 - 2
src/borg/archiver.py

@@ -2367,8 +2367,8 @@ class Archiver:
             /home/*/junk
             /home/*/junk
             *.tmp
             *.tmp
             fm:aa:something/*
             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
             # Example with spaces, no need to escape as it is processed by borg
             some file with spaces.txt
             some file with spaces.txt
             EOF
             EOF