linux下7z解压命令

83 阅读1分钟

使用unzip报错,

unzip res_6207_6208_6209_6665_6697_v1.zip -d res_6207_6208_6209_6665_6697_v1

报错如下,

Archive:  res_6207_6208_6209_6665_6697_v1.zip
warning [res_6207_6208_6209_6665_6697_v1.zip]:  689420714 extra bytes at beginning or within zipfile
  (attempting to process anyway)
error [res_6207_6208_6209_6665_6697_v1.zip]:  start of central directory not found;
  zipfile corrupt.
  (please check that you have transferred or created the zipfile in the
  appropriate BINARY mode and that you have compiled UnZip properly)

网上查找资料得到,使用7z进行解压,

7z x res_6207_6208_6209_6665_6697_v1.zip -ores_6207_6208_6209_6665_6697_v1

解压成功,

image.png