Skip to content

Commit

Permalink
extract: document lack of wildcard support in default pattern style
Browse files Browse the repository at this point in the history
  • Loading branch information
Atemu committed Dec 20, 2024
1 parent 690ffd1 commit 92f1ae6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/borg/archiver/extract_cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,10 @@ def build_parser_extract(self, subparsers, common_parser, mid_common_parser):
When parent directories are not extracted (because of using file/directory selection
or any other reason), borg can not restore parent directories' metadata, e.g. owner,
group, permission, etc.
The default interpretation for the paths to extract is `pp:` which is a literal
path-prefix match. If you want to use e.g. a wildcard, you must select a different
pattern style such as `sh:` or `fm:`. See :ref:`borg_patterns` for more information.
"""
)
subparser = subparsers.add_parser(
Expand Down

0 comments on commit 92f1ae6

Please sign in to comment.