[Nottingham] Calculating the overhead of "tar"

Martin martin at ml1.co.uk
Sun Dec 12 15:02:16 GMT 2004


Mike Cardwell 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.

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!

A Google search might find some docs...

Good luck,
Martin


-- 
----------------
Martin Lomas
martin at ml1.co.uk
----------------



More information about the Nottingham mailing list