[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-tar] error "Not found in archive"
From: |
Fabio Rossi |
Subject: |
[Bug-tar] error "Not found in archive" |
Date: |
Tue, 11 Sep 2018 21:58:09 +0200 (CEST) |
When trying to extract a file multiple times I get the misleading error "Not
found in archive".
Here are the steps to reproduce the problem:
$ touch test
$ tar cvf t.tar test
$ rm -f test
$ tar xf t.tar test test
tar: test: Not found in archive
tar: Exiting with failure status due to previous errors
The tar file is regularly present and its contents verified. In fact when using
$ tar xf t.tar test
the process completes successfully. I tried also with the --overwrite function
without luck. The same applies also when using folders.
What do you think? The error is misleading, I would expect an error due to the
presence of the file when tar is trying to extract the second name in the
command line. Is this a bug?
Fabio
- [Bug-tar] error "Not found in archive",
Fabio Rossi <=