Why can't you combine .tar.gz files with cat?
alexwlchan.net
alexwlchan.net
> My mistake was trying to combine .tar.gz files using cat. gzip plays ball, but tar throws a strop.
> gzip happily combines the compressed members into a single stream, but when tar tries to read the decompressed stream, it finds the first archive’s EOF marker and stops reading.
> gzip would be happy to carry on, but tar has given up.
There was no reason to say this three times consecutively. But when an AI wrote the blog post for you then this is the level of quality HN readers have to put up with.
But if you want to merge those tar.gz, yes, you have to ungzip them and gzip the final tar. More CPU.