restoring a file from a tar file with a "*" in it's name...

From: George Gallen <ggallen_at_slackinc.com>
Date: Wed, 01 Nov 2000 10:08:46 -0500

We have a filename called "INVREG*CBS" that is part of a tar file that
needs to be restored. I have tried...

tar xvf /dev/rmt0a ./data2/CBS-BLUE/INVREG\*CBS

The filename is displayed on the screen as if it was restored, but it is 0
bytes in length.

The only way for us to restore this file is to:

tar xvf /dev/rmt0a ./data2/CBS-BLUE/*

To restore the entire directory structure, then pull out the file we want


Any other ideas on how to restore the file directly and get the data? That
is afterall
the intent, I could always touch a file to create the name. :)

Thanks
George

We are running 3.2c, but in this case I don't think that's an issue.

George Gallen
Senior Programmer/Analyst
Accounting/Data Division
ggallen_at_slackinc.com
ph:856.848.1000 Ext 220

SLACK Incorporated - An innovative information, education and management
company
http://www.slackinc.com
Received on Wed Nov 01 2000 - 15:09:42 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:41 NZDT