digest

PLAKAR-DIGEST(1) General Commands Manual PLAKAR-DIGEST(1)

plakar digestCompute digests for files in a Plakar snapshot

plakar digest[-hashing algorithm] snapshotID[:path] [...]

The plakar digest command computes and displays digests for specified path in a the given snapshotID. Multiple snapshotID and path may be given. By default, the command computes the digest by reading the file contents.

The options are as follows:

algorithm
Use algorithm to compute the digest. Defaults to SHA256.

Compute 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

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.

plakar(1)

March 3, 2025 Plakar