[Nottingham] Calculating the overhead of "tar"
Mike Cardwell
lug at blubbernet.com
Sun Dec 12 15:06:13 GMT 2004
On Sun, 12 Dec 2004, Martin wrote:
>> I have an obscure question, and this is the most appropriate list I read
> [---]
>> I am confident that there is a method for calculating what the filesize of
>> a tarball will be, by simply knowing the filenames, filesizes, and
> [---]
> Either take a few examples and /try/ it to see for yourself (experiment), or
> look at the source.
I was hoping to not have to reverse engineer tar. :(
> A quick fix would be to just add say 5% or 10% and make the user very happy
> when it finishes slightly faster than expected!
I'm uncomfortable about setting incorrect Content-length headers. I get
the feeling certain browsers wont like it.
> A Google search might find some docs...
That's the problem. It doesn't. :)
--
Digital photo printing:
http://www.fotoserve.com/?affiliate_id=1093871459
More information about the Nottingham
mailing list