Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

extract: document lack of wildcard support in default pattern style #8590

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Atemu
Copy link

@Atemu Atemu commented Dec 20, 2024

Fixes #8589

Copy link
Member

@ThomasWaldmann ThomasWaldmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR!

Comment on lines +22 to 25
# Extract only the object files
$ borg extract my-files 'sh:home/USERNAME/src/*.o'

# Restore a raw device (must not be active/in use/mounted at that time)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to add an example, but please use something more familiar to users (.pdf rather than .o). Not everybody is a developer.

Comment on lines +134 to +136
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.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PATHs is already explained in 113. Please rephrase and move this there.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wildcard extraction does not work
2 participants