Skip to content

3. Zip, as you always have

With squeeze taking over zip and unzip, your usual commands do exactly what they always did. A plain zip is made by Apple's own zip, and opened by Apple's own unzip:

% zip -r site.zip Website
updating: Website/ (stored 0%)
updating: Website/index.html (deflated 61%)
updating: Website/styles.css (deflated 95%)
updating: Website/images/ (stored 0%)
updating: Website/images/cafe.jpg (stored 0%)
% unzip -l site.zip
Archive:  site.zip
  Length      Date    Time    Name
---------  ---------- -----   ----
        0  12-06-2026 10:31   Website/
    63556  12-06-2026 10:31   Website/index.html
   176052  12-06-2026 10:31   Website/styles.css
        0  12-06-2026 10:31   Website/images/
  2012189  12-05-2026 23:18   Website/images/cafe.jpg
---------                     -------
  2251797                     5 files

That's Apple's zip and unzip speaking: the same lines, the same files and the same exit codes as before. Your scripts don't need to change.

What QwikSqueeze adds, without you asking:

  • Safety checks before unzipping: free space, and growth, as in 2. Unpack an archive.
  • Better passwords: zip -e makes an AES-256 zip instead of zip's weak classic one. See 4. A password that protects.
  • More formats with the same options: zip -r backup.7z Documents makes a 7z; unzip backup.7z unpacks it.

To run Apple's zip directly for one command, type /usr/bin/zip.