From: George Gallen <ggallen () slackinc ! com>
To: tru64-unix-managers
Subject: TAR Problem with a directory with a "*" in it's name.
Date: Mon, 01 Feb 1999 17:07:49 +0000 [thread overview]
Message-ID: <96079036515376.tru64-unix-managers.marc@archive.invalid> (raw)
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
reply other threads:[~1999-02-01 17:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox