The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


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 !!

More UNIX and Linux Forum Topics You Might Find Helpful
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 05:57 AM
Please help with cpio on HP-UX soestx HP-UX 3 01-13-2006 02: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

Closed Thread
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-16-2001
Registered User
 

Join Date: Apr 2001
Posts: 3
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 11:45 AM.
Forum Sponsor
  #2 (permalink)  
Old 06-18-2001
alwayslearningunix
Guest
 

Posts: n/a
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 (permalink)  
Old 06-18-2001
Registered User
 

Join Date: Apr 2001
Posts: 3
Smile REG: cpio

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
Closed Thread

Tags
cpio

Thread Tools
Display Modes




All times are GMT -7. The time now is 02:04 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0