[Nottingham] Calculating the overhead of "tar"
Robert Hart
enxrah at nottingham.ac.uk
Sun Dec 12 15:06:23 GMT 2004
I don't know how much data you are sending, but this:
tar cf /dev/null --totals ~
seems to run pretty fast on my system even for very large archives.
On Sun, 2004-12-12 at 15:02 +0000, Martin wrote:
> 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
>
>
--
Robert Hart <enxrah at nottingham.ac.uk>
University of Nottingham
This message has been scanned but we cannot guarantee that it and any
attachments are free from viruses or other damaging content: you are
advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.
More information about the Nottingham
mailing list