Fork me on GitHub

cat

plakar cat

plakar cat reads files from snapshots, without restoring them locally, and writes them to the standard output similarly to cat(1).

The command detects gzip-compressed files and will work as gzcat in such case, decompressing content before it is output to stdout.

$ plakar cat b3:/private/etc/passwd | grep ^root:
root:*:0:0:System Administrator:/var/root:/bin/sh
$ plakar cat b3:/private/etc/passwd | wc -l
     267