A .tar archive is basically only the files cat’ed together, with a header and index added, right?

And a .tar.gz takes forever to modify, because it needs to first extract the .tar.

So why is there no archive format that just cat’es the compressed files together?

  • Tuukka R@piefed.ee
    link
    fedilink
    English
    arrow-up
    3
    ·
    3 days ago

    Hey, you can add to a tarball without extracting it! Maybe that’s what you’re actually asking?

    Anyway, in case it wasn’t, here’s a bit more answer:

    A .tar.gz is a file that used to be .tar and was then compressed by gzip.

    A .gz.tar is a file that used to be .gz and was was made into a tarball.

    I cannot really imagine why someone would want to turn a .gz file into a tarball. Kind of in order to save it on an actual tape drive, maybe? But then it wouldn’t be a tarball. It would be just ones and zeroes physically saved on a tape.