解压cpio文件:cpio: premature end of file

刚解压一个cpio文件,遇到如下错误:

[orauser@amto03 ora92]$ cpio -idcmv < ship_9204_linux_disk1.cpio 

cpio: premature end of file

 

GOOGLE了一下,说是cpio命令选项 -idcmv的问题,应去掉c,再次尝试:

[orauser@amto03 ora92]$ cpio -idmv < ship_9204_linux_disk1.cpio 
Disk1/stage/locks
Disk1/stage/Components/oracle.apache.ejb/9.2.0.1.0/1
Disk1/stage/Components/oracle.apache.ejb/9.2.0.1.0
Disk1/stage/Components/oracle.apache.ejb
Disk1/stage/Components/oracle.apache.isqlplus/9.2.0.4.0/1
Disk1/stage/Components/oracle.apache.isqlplus/9.2.0.4.0
Disk1/stage/Components/oracle.apache.isqlplus
Disk1/stage/Components/oracle.apache.mod8i/9.2.0.1.0/1
Disk1/stage/Components/oracle.apache.mod8i/9.2.0.1.0


解压成功...!

你可能感兴趣的:(Linux)