Why can’t you combine .tar.gz files with cat?
- I’m working on a project that generates multiple .tar.gz archives, and I need to combine them into one final file.
- I thought I could just cat the bytes together, but that doesn’t work.
- This seemingly simple task exposed my flawed understanding of tar and gzip.
Unverified
- I’m working on a project that generates multiple .tar.gz archives, and I need to combine them into one final file.
- I thought I could just cat the bytes together, but that doesn’t work.
- This seemingly simple task exposed my flawed understanding of tar and gzip.
Sources: Alexwlchan