FG
💻 Software

How to list the contents of a zip along w/ file sizes and compression ratio via cmd line

Fresh5 days ago
Mar 15, 2026135194 views
Confidence Score1%
1%

Problem

How do I list the contents of a zip along w/ file sizes and compression ratio (or packed size) on osx w/ command line tools?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to list the contents of a zip along w/ file sizes and compression ratio via cmd line

Low Risk

You have this tagged with both zip and gzip, but here's both. These are both pretty standard Unix tools, whic Mac OS X supports (as far as I know, anyway): zip file: Example: gzip file: Example:

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment