没有__MACOSX文件夹的Mac zip压缩文件? [英] Mac zip compress without __MACOSX folder?

查看:653
本文介绍了没有__MACOSX文件夹的Mac zip压缩文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我使用Mac OSX中的内置zip压缩器压缩文件时,会在提取的zip中创建一个名为"__MACOSX"的额外文件夹.

When I compress files with the built in zip compressor in Mac OSX, it results in an extra folder titled "__MACOSX" created in the extracted zip.

我可以调整设置以防止创建此文件夹吗?还是需要购买第三方压缩工具?

Can I adjust my settings to keep this folder from being created or do I need to purchase a third party compression tool?

更新:我刚刚找到了用于OSX的免费软件,可以解决我的问题:" YemuZip "

UPDATE: I just found a freeware app for OSX that solves my problem: "YemuZip"

更新2 :YemuZip不再是免费软件

UPDATE 2: YemuZip is no longer freeware

推荐答案

遇到此问题时,我是通过命令行完成的:

When I had this problem I've done it from command line:

zip file.zip uncompressed

编辑,经过了许多否决:我之前使用过此选项,但不知道从哪里学到的,因此无法为您提供更好的解释.克里斯·约翰逊(Chris Johnson)的答案是正确的,但我不会删除我的.就像一条评论所说,它更准确地满足了OP的要求,因为它不包含那些文件就进行压缩,而不是将它们从压缩文件中删除.我发现它也更容易记住.

EDIT, after many downvotes: I was using this option for some time ago and I don't know where I learnt it, so I can't give you a better explanation. Chris Johnson's answer is correct, but I won't delete mine. As one comment says, it's more accurate to what OP is asking, as it compress without those files, instead of removing them from a compressed file. I find it easier to remember, too.

这篇关于没有__MACOSX文件夹的Mac zip压缩文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆