[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



The problem it turned out was that the file in question was a
directory, so we needed to do the following:

tar xvf /dev/rmt0a "./data2/CBS-BLUE/INVREG\*CBS/*" and so far it's OK,

because we didn't place the /* at the end, it only created it as a file
and not as a directory, then left it blank. At least that makes sense
now.


Thanks for the responses

George

>-----Original Message-----
>From: George Gallen [mailto:ggallen@slackinc.com]
>Sent: Wednesday, November 01, 2000 10:09 AM
>To: 'tru64-unix-managers@ornl.gov'
>Subject: restoring a file from a tar file with a "*" in it's name...
>
>
>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@slackinc.com
>ph:856.848.1000 Ext 220
>
>SLACK Incorporated - An innovative information, education and 
>management
>company
>http://www.slackinc.com
>