Bladeren bron

build_usage

Thomas Waldmann 3 jaren geleden
bovenliggende
commit
fc3b7fdad1
1 gewijzigde bestanden met toevoegingen van 4 en 4 verwijderingen
  1. 4 4
      docs/usage/help.rst.inc

+ 4 - 4
docs/usage/help.rst.inc

@@ -133,9 +133,9 @@ Examples::
     /home/*/junk
     /home/*/junk
     *.tmp
     *.tmp
     fm:aa:something/*
     fm:aa:something/*
-    re:^home/[^/]\.tmp/
-    sh:home/*/.thumbnails
-     # Example with spaces, no need to escape as it is processed by borg
+    re:^/home/[^/]+\.tmp/
+    sh:/home/*/.thumbnails
+    # 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
     $ borg create --exclude-from exclude.txt backup /
     $ borg create --exclude-from exclude.txt backup /
@@ -153,7 +153,7 @@ Examples::
 
 
         Via ``--pattern`` or ``--patterns-from`` you can define BOTH inclusion and exclusion
         Via ``--pattern`` or ``--patterns-from`` you can define BOTH inclusion and exclusion
         of files using pattern prefixes ``+`` and ``-``. With ``--exclude`` and
         of files using pattern prefixes ``+`` and ``-``. With ``--exclude`` and
-        ``--exlude-from`` ONLY excludes are defined.
+        ``--exclude-from`` ONLY excludes are defined.
 
 
     Inclusion patterns are useful to include paths that are contained in an excluded
     Inclusion patterns are useful to include paths that are contained in an excluded
     path. The first matching pattern is used so if an include pattern matches before
     path. The first matching pattern is used so if an include pattern matches before