plakar-cat

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

plakar-catDisplay file contents from a Plakar snapshot

plakar cat[-no-decompress] [-highlight] snapshotID:path ...

The plakar cat command outputs the contents of path within Plakar snapshots to the standard output. It can decompress compressed files and optionally apply syntax highlighting based on the file type.

The options are as follows:

Display the file content as-is, without attempting to decompress it, even if it is compressed.
Apply syntax highlighting to the output based on the file type.

Display a file's contents from a snapshot:

$ plakar cat abc123:/etc/passwd

Display a file with syntax highlighting:

$ plakar cat -highlight abc123:/home/op/korpus/driver.sh

The plakar-cat 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 or decompress content.

plakar(1), plakar-backup(1)

Plakar July 3, 2025 PLAKAR-CAT(1)