1837976 Members
2408 Online
110124 Solutions
New Discussion

wildcard in frecover

 
SOLVED
Go to solution
Tim Howell
Frequent Advisor

wildcard in frecover

Can you use wildcards for filenames in "frecover"? I have searched the forums and found ways to do it in "find", but not frecover. Is the principle the same? i.e. find /path -type f \( -name '*.htm' -o -name '*.html' -o '*.pdf' -o '*.doc' \) -print

TIA
if only we knew...
3 REPLIES 3
Leif Halvarsson_2
Honored Contributor

Re: wildcard in frecover

Hi,
frecover and cpio do not use the same options or syntax. The man page for frecover says nothing about wildcards so I assume it is not allowed. If you want to make sure, you can do a test with the -N option (a kind of preview).
Sanjay_6
Honored Contributor
Solution

Re: wildcard in frecover

Hi Tim,

frecover does not support wildcards. Maybe this link will help you restore what you want to restore.

http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000063248383

The itrc doc id is HPUXKBRC00009405.

Hope this helps.

Regds
Thierry Poels_1
Honored Contributor

Re: wildcard in frecover

hi,

- "frecover -I" to create an indexfile
- grep the stuff you need from the indexfile
- make an include file of the indexfile
- frecover with the include file
- done :)

regards,
Thierry.
All unix flavours are exactly the same . . . . . . . . . . for end users anyway.