Preferences

DesiLurker parent
great I can use it to pipe large logfiles and store for later retrival. is there something like zcat also?

rorosen
You can decompress a complete file with "zeekstd d seekable.zst".

Piping a seekable file for decompression via stdin isn't possible unfortunately. Decompression of seekable files requires to read the seek table first (which is usually at the end of the file) and eventually seek to the desired frame position, so zeekstd needs to able to seek the file.

If you want to decompress the complete file, you can use the regular zstd tool: "cat seekable.zst | zstd -d"

tarasglek
But you can probably tail -F quite well! Which is perfect for logs (eg gimme last day i can get grep through)

This item has no comments currently.