更新时间:2023-09-26 09:18:28
您可以使用NSTask
运行命令行ditto
程序.确保查看ditto
手册页中正确的标志组合,以获取与Finder兼容的拉链.
You could use NSTask
to run the command line ditto
program. Be sure to look at the ditto
man page for the right combination of flags to get Finder-compatible zipping.