Restore Spacific File Type from TAPE ?!

Hi

I just want to know if there's any way to restore a spacific file type from a tape using tar command.

I have different file type in 4mm tape. *.pds ; *.txt *.lis and some more. I just want to restore *.pds from the tape and Ignore the other file type.( FILTER A FILE TYPE FROM THE TAPE)

IF Not.. then is there's any way after restoring the data to view only the type I want to view only like OLD VAX/VMS do "d computername$diskname:[filename...]*.pds;*"

Thaanks and sorry for my bad english.

Check the man page!!

Found in the man page for tar -
x Extract or restore. The named files are extracted from
the tarfile and written to the directory specified in
the tarfile, relative to the current directory. Use
the relative path names of files and directories to be
extracted. If a named file matches a directory whose
contents has been written to the tarfile, this direc-
tory is recursively extracted. The owner, modification
time, and mode are restored (if possible); otherwise,
to restore owner, you must be the super-user.
Character-special and block-special devices (created by
mknod(1M)) can only be extracted by the super-user. If
no file argument is given, the entire content of the
tarfile is extracted. If the tarfile contains several
files with the same name, each file is written to the
appropriate directory, overwriting the previous one.
Filename substitution wildcards cannot be used for
extracting files from the archive; rather, use a com-
mand of the form:

tar xvf... /dev/rmt/0 `tar tf... /dev/rmt/0 |grep 'pattern'`

This works great - you just set the pattern to ".pds"

To do a directory in UNIX - ls *.pds (UNIX does not have the same restrictions as VMS - files do not need extensions - you will find it will free the mind. The only thing I have found that works better in VMS is search (ie. grep).