Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CPIO question in Solaris 7

Status
Not open for further replies.

tekpchak

Technical User
Jan 5, 2005
17
US
I have backed up a system using
cpio -ov > /archive/cecdisplay

Now I want to use this cpio archive on an existing system to make it just like the one from the archive. However I dont understand the syntax. How would I get it to run?

Thanks,
Jay
 
This is how I installed some Oracle9204 s/w from a cpio file.

cpio –ivcdum < 9204_solaris64_release.cpio

NB the < and where data is coming from
I think this is key to your question. Takes the input for the command from the specified file rather than the keyboard

Also please read man pages on this command

i= standard i/p v = verbose c = r/w headr info
u =copy unconditionally d= create directories
m = is for time stamp

marrow
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top