LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 03-17-2004, 04:40 AM   #1
ramnath
LQ Newbie
 
Registered: Nov 2003
Posts: 5

Rep: Reputation: 0
CPIO extract error


can anyone tell me how to use cpio command on multipart files. I had a 600 MB cpio file which was split up into 6 parts with .cpio.aa, .cpio.ab .. extensions. Now i want to extract the contents of these files. I tried using cpio -idvm < xx.cpio.aa but it starts the extraction and stops midway with the error: Premature End of File. Can anyone please guide me how to go about it.


Ps: i also tried using the -c switch and also without it. But same results.
 
Old 06-02-2011, 10:01 AM   #2
torusJKL
LQ Newbie
 
Registered: Jun 2010
Posts: 2

Rep: Reputation: 1
this should work
Code:
cat xx.cpio.aa xx.cpio.ab xx.cpio.ac  > filename
 
Old 06-02-2011, 10:22 AM   #3
thebombzen
Member
 
Registered: Dec 2010
Location: Noneya Business
Distribution: Fedora 16
Posts: 45

Rep: Reputation: 2
Code:
cat xx.cpio.aa xx.cpio.ab <insert your other files here> | cpio -i
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
rpmbuild cpio read error winglin Linux - Software 1 08-25-2007 12:43 AM
cpio error ntoughe AIX 9 12-31-2005 11:19 AM
Error while backing up to tape using cpio froggo Linux - Enterprise 3 09-29-2005 10:05 AM
How to use cpio to extract a cpio archive? linx win Debian 4 06-17-2005 01:53 PM
CPIO will not extract File stress Linux - Software 2 07-22-2004 01:04 AM


All times are GMT -5. The time now is 08:49 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration