![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| cpio versus cp | fredao | UNIX for Advanced & Expert Users | 1 | 09-17-2007 11:05 AM |
| cpio - files > 2gb | dnicky | Shell Programming and Scripting | 2 | 10-31-2006 06:57 AM |
| Please help with cpio on HP-UX | soestx | HP-UX | 3 | 01-13-2006 03:07 PM |
| cpio | kok | UNIX for Dummies Questions & Answers | 2 | 08-12-2004 05:57 AM |
| Help with cpio | rooh | UNIX for Dummies Questions & Answers | 2 | 04-08-2003 03:41 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
cpio
by mistake I deleted all the files in
/usr2/symix/users/wfpsys/tpsc/ directory. full backup has taken yesterday using "CPIO" command and I am able to view the files from tape also using cpio command. but i couldn't able to restore back the files. Can you please help me immeditely by giving the command to restore all the files inside tpsc directory. Please it is a urgent request. Advance thanks. Please contact me at ::email removed:: Last edited by oombera; 02-18-2004 at 12:45 PM. |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
cpio -icdB < [name_of_cpio_archive]
If you want a verbose listing of each file as it is extracted include the v flag. If you get a block error omit the B flag. Hope this helps. Regards. |
|
#3
|
|||
|
|||
|
Thank you.
I used cpio -icvdumB "usr2/symix/users/wfpsys/tpsc/*.*" < /dev/rst5 above command restored all the files to tpsc directory from the tape drive. |
|||
| Google The UNIX and Linux Forums |