digest
PLAKAR-DIGEST(1) - General Commands Manual
NAME
plakar digest - Calculate digests for files in a Plakar snapshot
SYNOPSIS
plakar digest [-hashing algorithm] snapshotID:filepath […]
DESCRIPTION
The plakar digest command calculates and displays digests for specified filepath in a the given snapshotID. Multiple snapshotID and filepath may be given. By default, the command computes the digest by reading the file contents.
The options are as follows:
-hashing algorithm
Use algorithm to compute the digest. Defaults to SHA256.
EXAMPLES
Calculate the digest of a file within a snapshot:
$ plakar digest abc123:/etc/passwd
Use BLAKE3 as the digest algorithm:
$ plakar digest -hashing BLAKE3 abc123:/etc/netstart
DIAGNOSTICS
The plakar digest utility exits 0 on success, and >0 if an error occurs.
0
Command completed successfully.
>0
An error occurred, such as failure to retrieve a file digest or invalid snapshot ID.
SEE ALSO
plakar(1)
Plakar - February 3, 2025