Operating System - HP-UX
1834935 Members
2250 Online
110071 Solutions
New Discussion

Extract the cpio extension file

 
SOLVED
Go to solution
Nikee Reddy
Regular Advisor

Extract the cpio extension file

Hello,

I have a file with an extention cpio. i.e. 9204_hpunix_Release.cpio

Do you guys know how to extract this file???

Thanks,
Nikee
6 REPLIES 6
Pete Randall
Outstanding Contributor

Re: Extract the cpio extension file

File extensions are not necessarily significant in Unix. It may not be anything other than a plain text file. Try more or cat or strings and see what you get.


Pete


Pete
Steven E. Protter
Exalted Contributor

Re: Extract the cpio extension file

Just a guess, but I'd think cpio will probably expand it.

man cpio

file 9204_hpunix_Release.cpio

for more data.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
TOMAS BERNABEU
Frequent Advisor

Re: Extract the cpio extension file


man cpio .

or
cpio -ivmu < file.cpi


Tom
Nikee Reddy
Regular Advisor

Re: Extract the cpio extension file

Hello,

Here is the output when I ran the file command on the cpio file:

# file 9204_hpunix_Release.cpio
9204_hpunix_Release.cpio: ASCII cpio archive

Still I did not have to clue to unpack this file?

Thanks,
Nikee
Massimo Bianchi
Honored Contributor
Solution

Re: Extract the cpio extension file

To extract you can use pax:

pax -rv < 9204_hpunix_Release.cpio

Massimo
Umapathy S
Honored Contributor

Re: Extract the cpio extension file

Nikee,
For the file in the cur dir to the cur dir use

cpio -icvdumB
HTH,
Umapathy

Arise Awake and Stop NOT till the goal is Reached!