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

This commit is contained in:
Thomas Waldmann 2016-11-19 22:26:07 +01:00
parent d8e806aac1
commit 5fe5b6b339
1 changed files with 9 additions and 0 deletions

View File

@ -387,6 +387,15 @@ Examples
# As above, but add nanoseconds
$ 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
Examples