From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079036515376.tru64-unix-managers.marc@archive.invalid> From: George Gallen Date: Mon, 01 Feb 1999 17:07:49 +0000 To: tru64-unix-managers Subject: TAR Problem with a directory with a "*" in it's name. X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079036515376 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