py-treesum info¶
Synopsis¶
py-treesum info [–help | -h] [–last] TREESUM-DIGEST-FILE …
Description¶
Read and print a summary of generated “treesum” files.
For every digest block in given TREESUM-DIGEST-FILE print a summary with the overall block message digest, an overview over errors and other important flags and settings that have been in effect when the file was generated.
Options¶
- --help, -h¶
Print the subcommand’s help message to stdout and exit.
- --last¶
Print only data about the last digest block of every given file.
Examples¶
The file tests/data/_data.treesum yields this output:
$ python treesum.py info tests/data/_data.treesum
Tag: tests/data
FS-Encoding: UTF-8
Generator: treesum 0.12 (PY3)
Flags: denc-hex, follow-symlinks-file, no-follow-symlinks-commandline, no-follow-symlinks-directory, no-ignore-symlink-type, print-size, utf8-encoding
Comment: Ordinäres Treesum mit Digests und Sizes
FNMatch: exclude: glob:*.treesum
FNMatch: exclude: glob:*.size
Algorithm: SHA256
Digest: 105de9e865089039c94d3ebb7db1b9ab9ea5a55012d66ad9fc83c81dc348a1f8
Size: 639
*****TAINTED*****
Errors: directory is TAINTED
errno 2: No such file or directory
The file tests/data/_data.size with no digests and only sizes
gives this output:
$ python treesum.py info tests/data/_data.size
Tag: tests/data
FS-Encoding: UTF-8
Generator: treesum 0.12 (PY3)
Flags: denc-hex, follow-symlinks-file, fs-encoding, no-follow-symlinks-commandline, no-follow-symlinks-directory, no-ignore-symlink-type, size-only
Comment: Nur die Größen
FNMatch: exclude: glob:*.treesum
FNMatch: exclude: glob:*.size
Size: 639
*****TAINTED*****
Errors: directory is TAINTED
errno 2: No such file or directory