On OSX Mojave, version 10.14.2. Related to this post, which does not solve the issue reported here.
Step 1. Configure
Archive Utility to prevent opening new Finder windows:
- Close all Finder windows.
- In Spotlight, select
Archive Utility.app. This does not open any window, but you should be able to access
Archive Utility / Preferences...in the menu bar.
Preferences..., and untick the option
Reveal archive in Finderat the bottom.
- Open a Terminal, and type:
Step 2. Create an archive of a nested folder:
- In Finder, with column view for example with folders
A/B/C, select folder
B. You should see the contents of that folder, including folder
- Without left-clicking folder
C(as in, you should not see its contents in the next column), right-click on folder
- An archive
C.zipis created in folder
B, without opening a new Finder window.
Step 3. Problematic behaviour:
- Now select folder
C, such that its contents appear in the next column.
- Then right-click
C, and select
- A new archive
C 2.zipis created in folder
B, and a new Finder window is opened.
This is contrary to the preferences set in the Archive Utility (step 1), and inconsistent with the behaviour obtained in step 2; in other words, this is a bug. Is there a solution to this?