10
I have a tar archive and I want to use tar -xvf
.
In this tar archive I have a directory tree containing a couple of files. On my solaris 10 system this directory tree already exists and has several files in it.
If i unpack the archive is the entire directory tree overwritten or are only the files contained in the archive overwritten?
Will the files that do not have a correspondent in he archive get deleted?
You could always create a test .tar and a test directory and try it out... an answer you come up with yourself will last much longer in your mind than an answer given to you by anyone here. – Jarvin – 2010-08-18T19:27:07.117
The answer is no. If you think hard enough, you will realize that it doesn't make any sense that a program to extract files from an archive would delete completely unrelated files. – Fosco – 2010-08-18T20:22:41.367