mirror of
https://github.com/borgbackup/borg.git
synced 2025-02-21 05:37:23 +00:00
docs: different pattern matching for --exclude, fixes #1779
This commit is contained in:
parent
d8e806aac1
commit
5fe5b6b339
1 changed files with 9 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue