|
楼主 |
发表于 2010-8-20 16:36:42
|
显示全部楼层
哦,rpm2cpio 能保留权限,我刚刚把所有者和所属组都考虑进去了,应该都是root就对了。
------------------
yes 7z是个好东西,差点把它忘了
7-Zip is a file archiver with the highest compression ratio. The program supports 7z (that
implements LZMA compression algorithm), ZIP, CAB, ARJ, GZIP, BZIP2, TAR, CPIO, RPM and DEB
formats. Compression ratio in the new 7z format is 30-50% better than ratio in ZIP format.
7z解压缩rpm是层层剥开的
rpm-python-4.7.0-2mgc25.i686.rpm
rpm-python-4.7.0-2mgc25.i686.cpio.lzma
rpm-python-4.7.0-2mgc25.i686.cpio
不过7z解压cpio的时候不保留任何权限呢?是不是我少了参数?
7z x *.cpio
man中没有太多的参数.. |
|