我需要传递哪些标志来模仿“右键单击 -> ”的行为压缩”?
我正在编写一个 shell 脚本,需要使用“右键单击 -> 压缩”时从 Mac GUI 设置的相同选项来压缩目录。据我了解,同上是完成这项工作的正确工具,但是除了“-c”之外,我还需要传递哪些标志?我尝试过原始的“-c”和“-c -k”,并且右键单击都给出了不同的结果。
I'm writing a shell script that needs to compress a dir with the same options that are set from the Mac GUI when you do a "right click -> Compress". From what I understand ditto is the right tool for the job, but what flags do I need to pass besides "-c"? I've tried raw "-c" as well as "-c -k" and both give different results from the right click.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
根据“男人同上”,
According to "man ditto",