2 ms·
great I can use it to pipe large logfiles and store for later retrival. is there something like zcat also?
by DesiLurker 1y ago
great I can use it to pipe large logfiles and store for later retrival. is there something like zcat also?
- rorosen 1y agoYou 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 1y agoBut you can probably tail -F quite well! Which is perfect for logs (eg gimme last day i can get grep through)