Closed mario closed 10 years ago
ArchiveEntry
can access the size of a file in the archive, so you could try to call Archiver#stream(File)
on your archive, iterate over all archive entries and collect their sizes. I can't tell you whether that will give you the 100% correct final size on the file system, but at the very least it'll be a good estimate.
Thanks for the fast reply - I was aware of that, was hoping there's some convenience method ;)
Hi,
is it possible to get size of the extracted tarball (tgz) would have on the filesystem through one of the lib methods?
Cheers.