[vox-tech] tar question

Shawn P. Neugebauer vox-tech@lists.lugod.org
Tue, 4 Jun 2002 14:23:36 -0700


On Tuesday 04 June 2002 12:54 pm, you wrote:
[snip]
> it _sucks royally_ that tar seems to destroy the archive when you delete
> an unknown file:
>
>    p@satan% file test.tar
>    test.tar: GNU tar archive
>    p@satan% tar f test.tar --delete "test/biteme"
>    tar: test/biteme: Not found in archive
>    tar: Error exit delayed from previous errors
>    p@satan% file test.tar
>    test.tar: data

it also deletes the archive if you don't list a file (or files).  yes, this
is weird and were it not consistent i would call it a bug, but it's
probably some kind of "feature."

shawn.