ITEM: M2781L

How can I restore certain files from tar


ENV:
    AIX 3.2.5

DESC: 
    Customer wanted to know how to extract individual files from tape
    with the tar command.

ACT:
    I explained that he would do the following:

tar -xvf /dev/rmt0 \

Customer then asked if he could somehow get a list of files 
and be given the choice of extracting or ignoring each file on the
tape.  this would be done as follows:
.tar -xwvf /dev/rmt0 

The customer would then be prompted whether he wanted to extract each 
file or ignore each file.

pax -rvf /dev/rmt0 -pmop "directoryname/*.ps" "directoryname/*.wp"

The pax command will read both tar and cpio (using the -c flag) formats.
The pax command will allow for wildcards to be given.


Support Line: How can I restore certain files from tar ITEM: M2781L
Dated: September 1994 Category: N/A
This HTML file was generated 99/06/24~13:30:40
Comments or suggestions? Contact us