13

I've lost count how many times I've double-clicked a .ZIP file on Mac to look inside it (like Windows) only for it to auto-extract in the current location, which is rarely my preference.

Does MacOS provide a way for me to explore (and ideally edit) the content of archive files like Windows?

2
  • 4
    macOS does not provide a GUI app for that, you'd need to install a third-party app for that or use included command line utilities like zip/unzip. Commented Feb 26, 2019 at 10:30
  • There is also the zipinfo or zip -l command. See osxdaily.com/2013/06/17/… for more info. Both zip and zipinfoonly view the contents, which is better than nothing.
    – Manngo
    Commented Oct 26, 2022 at 5:37

1 Answer 1

3

Previewing contents of zip files in the GUI is not available within macOS as it ships out.

You may however install a QuickLook generator to do that One would be available within https://macitbetter.com/BetterZip-Quick-Look-Generator/

The full app is 30-day trialware, but the QuickLook part will still be available after that period has elapsed.

To use it, slect a zip-file and hit Space.

Manipulating files within an archive is limited.

Specialised for this would be

The Archive Browser (non-free)

Quickly view archive contents

Of course, if you are serious about file management, you'd have to ditch the overly limited Finder.app and use professional software to that end.

One alternative worth looking into would be PathFinder: unlike Finder the workflow "Get Info">"Preview" in PathFinder offers not just a big icon, but also a preview of what's inside.

Most closely resembling your previous experience in use, but not in setting it up, would of course be to combine https://osxfuse.github.io with https://bitbucket.org/agalanin/fuse-zip/downloads/

use-zip is a FUSE file system to navigate, extract, create and modify ZIP and ZIP64 archives based on libzip implemented in C++. With fuse-zip you really can work with ZIP archives as real directories. Unlike KIO or Gnome VFS, it can be used in any application without modifications.

If a seamless usage is the goal but the manual setup sounds too complicated for that, then it's worth to take a look at ivoronin/ArchiveMounter:

Mounts archives like disk images (macOS)

If you 'install' that application and drag its icon also to the Finder toolbar, (in macOS this was made slightly more complicated: hold Cmd and then drag the app to the toolbar until you see a plus sign) you have a convenient, low-cost solution, that allows you to look inside the archives, extract single files as needed and even manipulate the contents without a full decompression (and/or re-compression). Although that last feature seems to be judged as not that stable by the developer, as it's turned off by default: without setting any preferences it defaults to 'mount' archives read-only.

To solve the issue with double-click resulting in an undesired action (full decompression), you then have to choose from one of the options listed here your favourite method. Then right-click on a zip-file and choose "Get Info". Set your desired action accordingly under the heading "Open With".

2
  • 2
    With respect, you have spoilt a good/correct answer (the first 5 lines) with comments about Finder's supposed limitations and confusing (to most people) solution involving fuse.
    – Gilby
    Commented Feb 26, 2019 at 22:34
  • 2
    Pay me to lie by omission and we got a deal. Finder is a horrible piece of software, my .DS_Store told me. But perhaps I forgot the many details in yet another dataloss bug, who knows. The very question is about another perceived shortcoming of Finder. That's not 'supposed' but the actual problem. That the half-answer in a comment got upvoted and the above comment as well – even after I removed the perhaps confusing aspect – is quite telling. Commented Feb 27, 2019 at 20:11

Not the answer you're looking for? Browse other questions tagged .