|
@@ -6,15 +6,16 @@ borg list
|
|
|
|
|
|
usage: borg list [-h] [-v] [--debug] [--lock-wait N] [--show-version]
|
|
usage: borg list [-h] [-v] [--debug] [--lock-wait N] [--show-version]
|
|
[--show-rc] [--no-files-cache] [--umask M]
|
|
[--show-rc] [--no-files-cache] [--umask M]
|
|
- [--remote-path PATH] [--short] [--list-format LISTFORMAT]
|
|
|
|
- [-P PREFIX]
|
|
|
|
- [REPOSITORY_OR_ARCHIVE]
|
|
|
|
|
|
+ [--remote-path PATH] [--short] [--format FORMAT] [-P PREFIX]
|
|
|
|
+ [-e PATTERN] [--exclude-from EXCLUDEFILE]
|
|
|
|
+ [REPOSITORY_OR_ARCHIVE] [PATH [PATH ...]]
|
|
|
|
|
|
List archive or repository contents
|
|
List archive or repository contents
|
|
|
|
|
|
positional arguments:
|
|
positional arguments:
|
|
REPOSITORY_OR_ARCHIVE
|
|
REPOSITORY_OR_ARCHIVE
|
|
repository/archive to list contents of
|
|
repository/archive to list contents of
|
|
|
|
+ PATH paths to list; patterns are supported
|
|
|
|
|
|
optional arguments:
|
|
optional arguments:
|
|
-h, --help show this help message and exit
|
|
-h, --help show this help message and exit
|
|
@@ -30,15 +31,59 @@ borg list
|
|
--umask M set umask to M (local and remote, default: 0077)
|
|
--umask M set umask to M (local and remote, default: 0077)
|
|
--remote-path PATH set remote path to executable (default: "borg")
|
|
--remote-path PATH set remote path to executable (default: "borg")
|
|
--short only print file/directory names, nothing else
|
|
--short only print file/directory names, nothing else
|
|
- --list-format LISTFORMAT
|
|
|
|
- specify format for archive file listing (default:
|
|
|
|
- "{mode} {user:6} {group:6} {size:8d} {isomtime}
|
|
|
|
- {path}{extra}{NEWLINE}") Special "{formatkeys}" exists
|
|
|
|
- to list available keys
|
|
|
|
|
|
+ --format FORMAT, --list-format FORMAT
|
|
|
|
+ specify format for file listing (default: "{mode}
|
|
|
|
+ {user:6} {group:6} {size:8d} {isomtime}
|
|
|
|
+ {path}{extra}{NL}")
|
|
-P PREFIX, --prefix PREFIX
|
|
-P PREFIX, --prefix PREFIX
|
|
only consider archive names starting with this prefix
|
|
only consider archive names starting with this prefix
|
|
|
|
+ -e PATTERN, --exclude PATTERN
|
|
|
|
+ exclude paths matching PATTERN
|
|
|
|
+ --exclude-from EXCLUDEFILE
|
|
|
|
+ read exclude patterns from EXCLUDEFILE, one per line
|
|
|
|
|
|
Description
|
|
Description
|
|
~~~~~~~~~~~
|
|
~~~~~~~~~~~
|
|
|
|
|
|
This command lists the contents of a repository or an archive.
|
|
This command lists the contents of a repository or an archive.
|
|
|
|
+
|
|
|
|
+See the "borg help patterns" command for more help on exclude patterns.
|
|
|
|
+
|
|
|
|
+The following keys are available for --format when listing files:
|
|
|
|
+
|
|
|
|
+ - archiveid
|
|
|
|
+ - archivename
|
|
|
|
+ - atime
|
|
|
|
+ - bpath: verbatim POSIX path, can contain any character except NUL
|
|
|
|
+ - csize: compressed size
|
|
|
|
+ - ctime
|
|
|
|
+ - extra
|
|
|
|
+ - gid
|
|
|
|
+ - group
|
|
|
|
+ - isoatime
|
|
|
|
+ - isoctime
|
|
|
|
+ - isomtime
|
|
|
|
+ - linktarget
|
|
|
|
+ - md5
|
|
|
|
+ - mode
|
|
|
|
+ - mtime
|
|
|
|
+ - num_chunks: number of chunks in this file
|
|
|
|
+ - path: path interpreted as text (might be missing non-text characters, see bpath)
|
|
|
|
+ - sha1
|
|
|
|
+ - sha224
|
|
|
|
+ - sha256
|
|
|
|
+ - sha384
|
|
|
|
+ - sha512
|
|
|
|
+ - size
|
|
|
|
+ - source: link target for links (identical to linktarget)
|
|
|
|
+ - type
|
|
|
|
+ - uid
|
|
|
|
+ - unique_chunks: number of unique chunks in this file
|
|
|
|
+ - user
|
|
|
|
+ - CR
|
|
|
|
+ - LF
|
|
|
|
+ - NEWLINE: OS dependent line separator
|
|
|
|
+ - NL: alias of NEWLINE
|
|
|
|
+ - NUL: NUL character for creating print0 / xargs -0 like ouput, see bpath
|
|
|
|
+ - SPACE
|
|
|
|
+ - TAB
|