mirror of
https://github.com/borgbackup/borg.git
synced 2025-03-03 10:17:40 +00:00
add example for excluding content using the --pattern cmd line arg (#5456)
add example for excluding content using the --pattern command line argument
This commit is contained in:
parent
aee10b7497
commit
5bcb52db77
1 changed files with 7 additions and 0 deletions
|
@ -19,6 +19,13 @@ Examples
|
|||
-rwxr-xr-x root root 2140 Fri, 2015-03-27 20:24:22 bin/bzdiff
|
||||
...
|
||||
|
||||
$ borg list /path/to/repo::root-2016-02-15 --pattern "- bin/ba*"
|
||||
drwxr-xr-x root root 0 Mon, 2016-02-15 17:44:27 .
|
||||
drwxrwxr-x root root 0 Mon, 2016-02-15 19:04:49 bin
|
||||
lrwxrwxrwx root root 0 Fri, 2015-03-27 20:24:26 bin/bzcmp -> bzdiff
|
||||
-rwxr-xr-x root root 2140 Fri, 2015-03-27 20:24:22 bin/bzdiff
|
||||
...
|
||||
|
||||
$ borg list /path/to/repo::archiveA --format="{mode} {user:6} {group:6} {size:8d} {isomtime} {path}{extra}{NEWLINE}"
|
||||
drwxrwxr-x user user 0 Sun, 2015-02-01 11:00:00 .
|
||||
drwxrwxr-x user user 0 Sun, 2015-02-01 11:00:00 code
|
||||
|
|
Loading…
Reference in a new issue