View Zip File Contents With a Shortcut on a Mac

While the Mac Finder handles zipping and unzipping files just fine, it fails to give you any way to see the contents of a ZIP file. You can use some Terminal commands to do this. Better still, you can use those Terminal commands in a Shortcut to make it easy.

Comments: 5 Responses to “View Zip File Contents With a Shortcut on a Mac”

    Tess Loggins
    1 year ago

    This would be a problem solver for zipping files on Mac.

    jasper
    1 year ago

    Thanks—this looks useful.

    Another way to achieve this is with "Glance" on the AppStore [https://apps.apple.com/gb/app/glance-quick-look-plugin/id1513574319?mt=12]. It allows Preview of zip & a heap of other file types that don't usually have it.

    jasper
    1 year ago

    Scratch that! Glance doesn't preview .gz or .zip. The developer says that it's incompatible with the most recent macOSs.

    It still seems to work on Python (.py) and Shell (.sh) files, though.

    Larry
    8 months ago

    Thanks for the video and introduction to Shortcuts. Question: I would like to get a listing from several zip files in the same folder. Is there a way append the listings?

    8 months ago

    Larry: Yes, you should be able to do that with some more shell scripting. Either simply adding to the text file, or grabbing the contents of multiple ones.

Comments Closed.