How to create a zip file in the same format as the Finder's “Compress” menu item?

后端 未结 4 1746
青春惊慌失措
青春惊慌失措 2020-12-15 16:06

On Mac OS X, you can create a zip archive from the Finder by selecting some files and selecting \"Compress\" from the contextual menu or the File menu. Unfortunately, the r

4条回答
  •  没有蜡笔的小新
    2020-12-15 17:07

    The clue's in the tag 'automation'.

    Create an action in Automator.app that uses the 'Create Archive' action, invoke it from the command-line (see 'automator').

提交回复
热议问题