Mac can not extract error 22

In Mac using default decompression tool to unzip the zip package, there is a certain probability of experiencing this decompression error "error code 22". On the surface, this seems to be unpacked file is damaged or wrong use of tools.


If you open a command line, use the unzip command to extract, we will find more accurate error message:


That can not create illegal encoded file name. This case, most likely because the compressed file in the Windows system is done in accordance with the encoding name, put the Mac on the problem.

Solution can be used directly to unpack App tool The Unarchieve. Or install unar command line tool mounting Unar, specified by the parameter extracting brew: unar -e GBK yourfile.zip.
 

Published 313 original articles · won praise 4 · Views 510,000 +

Guess you like

Origin blog.csdn.net/billhepeng/article/details/103962054