[vox-tech] tar question

Peter Jay Salzman vox-tech@lists.lugod.org
Tue, 4 Jun 2002 11:45:58 -0700


how do you delete a file from an archive?  i did:

mkdir test
cd test
echo "hello" > a
echo "hello" > b
cd ..
tar cv test > test.tar

then:

tar --delete b --file test.tar
tar --delete test/b --file test.tar

both time i get

tar: b: Not found in archive


how do i delete a file from a tar archive?  without doing something dumb
like untarring, deleting and retarring.

pete