2017-06-06 22:06:36 +00:00
|
|
|
.. include:: list.rst.inc
|
|
|
|
|
|
|
|
Examples
|
|
|
|
~~~~~~~~
|
|
|
|
::
|
|
|
|
|
|
|
|
$ borg list /path/to/repo
|
|
|
|
Monday Mon, 2016-02-15 19:15:11
|
|
|
|
repo Mon, 2016-02-15 19:26:54
|
|
|
|
root-2016-02-15 Mon, 2016-02-15 19:36:29
|
|
|
|
newname Mon, 2016-02-15 19:50:19
|
|
|
|
...
|
|
|
|
|
|
|
|
$ borg list /path/to/repo::root-2016-02-15
|
|
|
|
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
|
|
|
|
-rwxr-xr-x root root 1029624 Thu, 2014-11-13 00:08:51 bin/bash
|
|
|
|
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
|
|
|
|
...
|
|
|
|
|
2020-10-28 22:32:40 +00:00
|
|
|
$ 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
|
|
|
|
...
|
|
|
|
|
2017-10-09 12:09:43 +00:00
|
|
|
$ borg list /path/to/repo::archiveA --format="{mode} {user:6} {group:6} {size:8d} {isomtime} {path}{extra}{NEWLINE}"
|
2017-06-06 22:06:36 +00:00
|
|
|
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
|
|
|
|
drwxrwxr-x user user 0 Sun, 2015-02-01 11:00:00 code/myproject
|
|
|
|
-rw-rw-r-- user user 1416192 Sun, 2015-02-01 11:00:00 code/myproject/file.ext
|
2021-08-21 14:02:11 +00:00
|
|
|
-rw-rw-r-- user user 1416192 Sun, 2015-02-01 11:00:00 code/myproject/file.text
|
|
|
|
...
|
|
|
|
|
|
|
|
$ borg list /path/to/repo/::archiveA --pattern 're:\.ext$'
|
|
|
|
-rw-rw-r-- user user 1416192 Sun, 2015-02-01 11:00:00 code/myproject/file.ext
|
|
|
|
...
|
|
|
|
|
|
|
|
$ borg list /path/to/repo/::archiveA --pattern 're:.ext$'
|
|
|
|
-rw-rw-r-- user user 1416192 Sun, 2015-02-01 11:00:00 code/myproject/file.ext
|
|
|
|
-rw-rw-r-- user user 1416192 Sun, 2015-02-01 11:00:00 code/myproject/file.text
|
2017-06-06 22:06:36 +00:00
|
|
|
...
|