Hi,
I have a tar file with a directory that has subdirectories with reports in them. I would like to to extract only one report from all subdirectories. Is it possible to have a wildcard using an include file?
For example, in this tar file, I only want rpt1 from subdirA and subdirB:
2006-03-31/subdirA/rpt1
2006-03-31/subdirA/rpt2
2006-03-31/subdirB/rpt1
2006-03-31/subdirB/rpt2
I used this command:
tar xvf /export/home/user/rptbkp.20060331.tar -I /opt/ctlcard/tar_rpt_rpt1
The include file, tar_rpt_rpt1 has:
./2006-03-31/*/rpt1
I have a tar file with a directory that has subdirectories with reports in them. I would like to to extract only one report from all subdirectories. Is it possible to have a wildcard using an include file?
For example, in this tar file, I only want rpt1 from subdirA and subdirB:
2006-03-31/subdirA/rpt1
2006-03-31/subdirA/rpt2
2006-03-31/subdirB/rpt1
2006-03-31/subdirB/rpt2
I used this command:
tar xvf /export/home/user/rptbkp.20060331.tar -I /opt/ctlcard/tar_rpt_rpt1
The include file, tar_rpt_rpt1 has:
./2006-03-31/*/rpt1