更新时间:2023-11-24 21:44:04
如果您需要将文件添加到与原始目录层次结构相同的文件夹中,则只需向其添加完整路径:
If you need to add the file to the same folder as in the original directory hierarchy, then you just need to add the full path to it:
zip -g xxx.zip folder/file
否则,最简单的方法可能是在临时目录的zip文件中创建所需的布局.
Otherwise, probably the easiest way to do that is to create the same layout you need in the zip file in a temporary directory.