bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-tar] tar should not warn "Not found in archive" when the file exist


From: Pavel Raiskup
Subject: [Bug-tar] tar should not warn "Not found in archive" when the file exists
Date: Mon, 01 Dec 2014 10:02:19 +0100
User-agent: KMail/4.14.3 (Linux/3.17.3-200.fc20.x86_64; KDE/4.14.3; x86_64; ; )

Hello,

following scenario is quite confusing:

   $ pushd $(mktemp -d)
   $ mkdir x
   $ touch x/a
   $ tar cf ar x
   $ tar tf ar x x/a
   x/
   x/a
   tar: x/a: Not found in archive
   tar: Exiting with failure status due to previous errors

Note that users are usually not aware of the --recursion option.  Some
more obvious warning could be thrown instead, possibly "Member matched no
file in archive"?

Pavel

Attachment: 0001-tar-tune-up-warnings-for-not-matched-members.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]