Re: question re tar
Hi,
Max Nikulin wrote:
> It seems some files are present multiple times in your list.
> tar cvWf test.tar file.txt file.txt
Well if it is that easy to create the situation, i can test what happens
on restoring the tarball:
$ tar cvf test.tar x x
x
x
$ rm x
rm: remove regular file ‘x’? y
$ tar xvf test.tar
x
x
$ ls -1
test.tar
x
No error messages.
This is the behavior promised by
https://www.gnu.org/software/tar/manual/html_node/multiple.html
for the case of later adding a newer version of the same file to the
tarball.
Have a nice day :)
Thomas
Reply to: