Use tar to append?

Mike McCarty Mike.McCarty at sbcglobal.net
Fri Mar 9 09:03:41 UTC 2007


Cameron Simpson wrote:
> Maybe:
> 
>   tar Af tarfile more-files...

Time comparisons, for exact same backup...

tar Af  0:52:07
gzip    0:28:52
total   1:20:59

tar cz  0:24:49

> Seems like it should do the trick. It should be efficient if the tarfile is
> not compressed. But I'm saying this on the basis of the info file for
> GNU tar, and I'm presuming that "A" is more efficient than "r", though
> the info file is... vague... about this (to be charitable).

Doesn't look all that efficient to me. Perhaps doing separate
tar and then using "r" will be better. But note that the compression
alone took longer than both tarring and compressing in one step.

Mike
-- 
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
Oppose globalization and One World Governments like the UN.
This message made from 100% recycled bits.
You have found the bank of Larn.
I can explain it for you, but I can't understand it for you.
I speak only for myself, and I am unanimous in that!




More information about the fedora-list mailing list