you are viewing a single comment's thread
view the rest of the comments
[–] 6 points 2 months ago (2 children)

Compressed tars suck anyway since you need to decompress them in order to get the list of files inside, unlike in any other sane archive format.

  • source
  • parent
  • hideshow 4 child comments
  • [–] 2 points 2 months ago*

    The pixz compressor provides parallized compression/decompression (desirable on modern CPUs), uses LZMA (like 7zip or xz), and provides indexed access when used as tar's compressor. The last of these is what you want.

    https://github.com/vasi/pixz

    $ tar cvf foo.tar.pixz -Ipixz foo/
    

    pixz is packaged in Debian-family distros.

  • source
  • parent
  • [–] 1 point 2 months ago (1 child)

    I very rarely list the content of compressed files, so that doesn't bother me much.

    Back in the day the trick to get better compression on zip files was to first make an uncompressed zip file, and then put that in a compressed zip file. tar did that all by itself!

  • source
  • parent
  • hideshow 2 child comments
  • [–] 3 points 2 months ago (1 child)

    I mean that's what GUI archivers do when you open the file.

    So tar is only useful for some kind of automatic workflows where archives are processed automatically. Like what package managers do.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 2 months ago

    The only thing I've done with a GUI archiver for the past 20+ years is right click on a file and select "extract to here". But more commonly I just extract things on the command line, without any automatic processing.

  • source
  • parent