* TAR Problem with a directory with a "*" in it's name.
@ 1999-02-01 17:07 George Gallen
0 siblings, 0 replies; only message in thread
From: George Gallen @ 1999-02-01 17:07 UTC (permalink / raw)
To: tru64-unix-managers
lately we tried to restore a file from our tar tape.
Usually we would just enter:
tar xvf /dev/rmnt0a "./data1/ACCT/COA*TEST"
But the above (which is in reality a directory)
only restored the directory entry, it did not
go and restore the contents of the directory.
Now if we subsituted another name without the "*"
it would restore both the directory and it's contents.
We tried:
tar xvf /dev/rmnt0a "./data1/ACCT/COA\*TEST"
This did the same as the above. I was hoping that
the backslash would cancel the wildcard functionality
of the "*" and use it as a character.
What we finally had to do was restore with a:
tar xvf /dev/rmnt0a "./data1/ACCT"
This restored the ENTIRE account (directory with all
files at this point restored), now we were ablt to
copy out the COA*TEST file.
For future use (aside from don't use filenames with "*"'s)
how would we restore that file without having to resort
to restoring the whole upper structure?
George Gallen
ggallen@slackinc.com
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1999-02-01 17:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-02-01 17:07 TAR Problem with a directory 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