壓縮命令
zip -r xxxx.zip
ls -l 查看文件大小 壓縮zip格式也有6.2G
-rw-r--r-- 1 root root 3826207807 01-01 00:01 xxxx.zip
新準(zhǔn)備的機器 將xxxx.zip 文件拷貝到新服務(wù)器
通過 unzip xxxx.zip 出現(xiàn)錯誤
[XXXXXXXX]# unzip xxxx.zipArchive: xxxx.zip
。。。。。。。。
note: didn't find end-of-central-dir signature at end of central dir. (please check that you have transferred or created the zipfile in the apPRopriate BINARY mode and that you have compiled UnZip properly)
查看資料原來是unzip命令不能解壓超過2G的文件 通過查找資料有個7z的程序可以解壓超過2G的壓縮包
解決:
rar格式的解壓
sudo apt-get install unrar-freeunrar e some.rarzip格式解壓sudo apt-get install p7zip-full7z x some.rar
新聞熱點
疑難解答