Explorar o código

docs: different pattern matching for --exclude, fixes #1779

Thomas Waldmann %!s(int64=8) %!d(string=hai) anos
pai
achega
5fe5b6b339
Modificáronse 1 ficheiros con 9 adicións e 0 borrados
  1. 9 0
      docs/usage.rst

+ 9 - 0
docs/usage.rst

@@ -387,6 +387,15 @@ Examples
     # As above, but add nanoseconds
     # As above, but add nanoseconds
     $ borg create /path/to/repo::{hostname}-{user}-{now:%Y-%m-%dT%H:%M:%S.%f} ~
     $ borg create /path/to/repo::{hostname}-{user}-{now:%Y-%m-%dT%H:%M:%S.%f} ~
 
 
+Notes
+~~~~~
+
+- the --exclude patterns are not like tar. In tar --exclude .bundler/gems will
+  exclude foo/.bundler/gems. In borg it will not, you need to use --exclude
+  '*/.bundler/gems' to get the same effect. See ``borg help patterns`` for
+  more information.
+
+
 .. include:: usage/extract.rst.inc
 .. include:: usage/extract.rst.inc
 
 
 Examples
 Examples