* SUMMARY: restoring a file from a tar file with a "*" in it's name ...
@ 2000-11-01 15:50 George Gallen
0 siblings, 0 replies; only message in thread
From: George Gallen @ 2000-11-01 15:50 UTC (permalink / raw)
To: tru64-unix-managers
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
>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-11-01 15:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-11-01 15:50 SUMMARY: restoring a file from a tar file with a "*" in it's name George Gallen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox