rpm2cpio提取rpm包文件

-i或--extract 执行copy-in模式,还原备份档。

-d或--make-directories 如有需要cpio会自行建立目录。

-v或--verbose 详细显示指令的执行过程。

[root@k8s-001 kubernetes_rpm]# rpm2cpio kubernetes-cni-0.7.5-0.mips64el.rpm | cpio -idv

./opt/cni
./opt/cni/bin
./opt/cni/bin/bridge
./opt/cni/bin/dhcp
./opt/cni/bin/flannel
./opt/cni/bin/host-device
./opt/cni/bin/host-local
./opt/cni/bin/ipvlan
./opt/cni/bin/loopback
./opt/cni/bin/macvlan
./opt/cni/bin/portmap
./opt/cni/bin/ptp
./opt/cni/bin/sample
./opt/cni/bin/tuning
./opt/cni/bin/vlan
90731 块

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章