logoalt Hacker News

DesiLurker06/16/20251 replyview on HN

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


Replies

rorosen06/16/2025

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"

show 1 reply