Update: fixed

  • the_tab_key@lemmy.world
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    edit-2
    12 days ago

    Yeah, you’re right and your “achsully” buddy doesn’t know how modern tar works. Yes, basic tar doesn’t compress, but adding -z triggers the use of gzip (hence .tar.gz) to add compression. You can also use other options to specify different compression algorithms/programs to use (eg lzma)

    • kekmacska@lemmy.zip
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      2
      ·
      edit-2
      12 days ago

      i know, but after you add a compression method to it, tar still doesn’t compress. Only the other, actual compression algorythm you add to it, like gz, xz, bz2, zst, rz, etc. I do know how modern tar works, but no matter how modern it is, it still can’t compress files. It only calls a file compressor at most

      • Sheldan@lemmy.world
        link
        fedilink
        arrow-up
        3
        arrow-down
        1
        ·
        edit-2
        12 days ago

        What does it matter? The OP never implied tar itself compresses, just that the mentioned command could try to decompress regardless of what happens underneath.