mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-22 07:43:06 +00:00
doc: add wildcard extract example
This commit is contained in:
parent
92f1ae6de8
commit
3301cb7bd3
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue