Skip to content

Commit

Permalink
doc: add wildcard extract example
Browse files Browse the repository at this point in the history
  • Loading branch information
Atemu committed Dec 20, 2024
1 parent 92f1ae6 commit 3301cb7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/usage/extract.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ Examples
# Extract the "src" directory but exclude object files
$ borg extract my-files home/USERNAME/src --exclude '*.o'

# 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)
$ borg extract --stdout my-sdx | dd of=/dev/sdx bs=10M

0 comments on commit 3301cb7

Please sign in to comment.