./test.txt and test.txt are not necessarily the same file from tar's perspective. Give it the full spec and it should work (and you can supply an alternative destination as an additional argument if you want, eg tar -xf archive pattern destination).
-- db David Boyes Sine Nomine Associates > -----Original Message----- > From: Linux on 390 Port [mailto:[EMAIL PROTECTED]]On Behalf Of > Mark D Pace > Sent: Thursday, November 21, 2002 3:08 PM > To: [EMAIL PROTECTED] > Subject: tar explanation? > > > Can someone explain what I am doing wrong here? > sles003:~ # tar -tf /dev/rtibm0 > ./ > ./bin/ > ./.ssh/ > ./.ssh/known_hosts > ./.exrc > ./test.txt > ./.bash_history > ./.xinitrc > ./.gnupg/ > ./.gnupg/pubring.gpg > ./.gnupg/trustdb.gpg > ./.gnupg/suse_build_key > ./.gnupg/secring.gpg > ./yast2fix > ./.therc > sles003:~ # mt -f /dev/ntibm0 rewind > sles003:~ # tar -xf /dev/rtibm0 test.txt > tar: test.txt: Not found in archive > tar: Error exit delayed from previous errors > > I created a tar file to tape. Included in that tar is a file called > test.txt as shown by the -t option. > But I can not restore the file. Any help is greatly appreciated. > > > > Mark D Pace > Senior Systems Engineer > Mainline Information Systems > 1700 Summit Lake Drive > Tallahassee, FL. 32317 > [EMAIL PROTECTED] > Office: 850.219.5184 > Fax: 850.219.5050 > http://www.mainline.com >
