LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   cpio.gz?? (https://www.linuxquestions.org/questions/linux-newbie-8/cpio-gz-29901/)

unprocessed 09-08-2002 11:25 AM

cpio.gz??
 
can anyone help me gunzip this file
'lnx_920_disk1.cpio.gz'???? i've read about cpio and gunzip
but none of the explainations combine the two. i need an example
cause i don't know how they interact.
thanks

unprocessed

markus1982 09-08-2002 11:27 AM

well with example.tar.bz2 it would be

bzip2 -dc example.tar.bz2 | tar xvf -


didn't hear of cpio yet ... but i'll check that out now :)

NSKL 09-08-2002 04:23 PM

To unzip a .bz2 i beleive you need to issue a bunzip2 command not bzip2. Might be wrong here tho...

-NSKL

markus1982 09-08-2002 04:42 PM

Nope that's not true ... see:

bzip2, a block-sorting file compressor. Version 1.0.2, 30-Dec-2001.

usage: bzip2 [flags and input files in any order]

-h --help print this message
-d --decompress force decompression
...

neo77777 09-08-2002 07:20 PM

did you try
gunzip -d lnx_920_disk1.cpio.gz|cpio -i -
?

unprocessed 09-09-2002 05:13 PM

TRIED BUT NADA!!!!!
i think the 'cpio' part needs to be copied to somewhere in the command to gunzip. I just don't know how :?(

neo77777 09-09-2002 10:55 PM

For instance
Code:

zcat Linux9i_Disk1.cpio.gz | cpio -idmv

unprocessed 09-11-2002 04:37 PM

N7

Thanks that seemed to extract that disk but methinks that the second disk is not all there. I get an error message that the archive is incomplete. This could also be the 1st disk???
going to download again when i have time thanks


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