Re: Extracting indiviual files or directories from XYZ.tar.xz - Possible?
On 2025-08-09 12:46:35 +0200, Nicolas George wrote:
> Moreover, such an optimization would be mostly useless, as most xz files
> out there are made of a single block with sizes not specified.
xz compresses into several blocks by default (of course, this is
visible only on very big files, where it really matters).
I suppose that this is done due to parallel compression, and for
parallel decompression.
-T threads, --threads=threads
Specify the number of worker threads to use. Setting threads to
a special value 0 makes xz use up to as many threads as the
processor(s) on the system support. The actual number of threads
can be fewer than threads if the input file is not big enough for
threading with the given settings or if using more threads would
exceed the memory usage limit.
[...]
The default value for threads is 0. In xz 5.4.x and older the
default is 1.
--
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)
Reply to: