Wednesday, October 26, 2022

Re: sysupdate and space check

On Wed, Oct 26, 2022 at 11:57:23 -0000, Stuart Henderson wrote:
> It would be nice, but it's tough to reliably test this without actually
> extracting the files (and a warning with many false triggers wouldn't be
> all that much use either ..)

If OP wants to build their own tooling to check this in future, they
can combine the `-t` and `-v` flags for tar(1), which (with some
scripting) can be used to get a good estimate of the extracted size of
an archive.

Of course, any other tool / library capable of parsing tar archives,
e.g. pax(1) or libarchive(3), will work as well.

--
Cheers,
luna

No comments:

Post a Comment