MacOS 默认"Compress Selected Items"不是压缩的



当我在文本媒体中选择文件并选择"压缩选定项目"时,它将创建TBZ文件。我如何将默认值更改为zip而不是tbz?

压缩选定项目是可以使用:

找到的命令
  1. 捆绑包→选择捆绑项目… ⌃⌘T
  2. 输入compress
  3. 按Option-Return(⌥↩)编辑所找到的项目

在最后一行(刚更新版本)具有:

%x{tar -cjf #{dest_path.shellescape} -C #{dest_dir.shellescape}/ #{relative_paths.shelljoin}}

更改此行以调用zip,例如:

%x{cd #{dest_dir.shellescape} && zip #{dest_path.shellescape} #{relative_paths.shelljoin}}

也将第31行中的".tbz"更改为".zip"

最新更新