If you add the same file to the tar file several times and then extract the file, is it guaranteed that the extracted version is equivalent to the last one added?
~/tmp> echo hi > foo ~/tmp> tar -cf bar.tar foo ~/tmp> echo bye > foo ~/tmp> tar -uf bar.tar foo ~/tmp> tar -tf bar.tar foo foo ~/tmp> rm foo ~/tmp> tar -xf bar.tar foo ~/tmp> cat foo bye
It makes sense that this will be, but I can not find any documentation on this subject. I am wondering if any of the acquaintances know, or if someone knows the circumstances when this is not so?
source share