MacOs zip文件-双击并运行unzip命令时结果不同

时间:2019-02-28 16:20:07

标签: windows macos zip

在Windows服务器上,使用Compress-Archive压缩了以下文件夹:

-folder
 |
 - folder1
 | - file1.txt
 |
 - folder2
 | - file2.txt
 |
 - file3.txt

解压缩文件夹后,在Windows和Mac上(在终端中使用unzip命令时)文件夹结构都是正确的

但是在Mac上,当我转到finder并双击文件时,我得到以下文件夹结构:

-folder
 |
 - file1.txt
 - file2.txt
 - file3.txt

1 个答案:

答案 0 :(得分:0)

  • The problem was when the file was created. It was not related to MacOs issue but with certain path length known issue in windows