Madghoot

Help

How to unzip and zip files in the Mac Terminal

Use unzip archive.zip to extract. Use ditto to keep Mac metadata.

Updated

Key facts

Works on
macOS 14 Sonoma or later
Built-in
unzip, ditto, tar

How to do it with built-in macOS tools

Paragraph with ⌘Space and formats and tar.gz guide.

Terminal
unzip archive.zip -d archive
Zip a folder without Mac junk
zip -r -X archive.zip folder -x "*.DS_Store"
ls -la
  1. Open Terminal

    Press ⌘Space, type Terminal.

  2. Run the command

    Type unzip.

Table

CommandDoes
unzip -lLists
  • One
  • Two
  1. First
  2. Second
Madghoot and Keka compared
Feature Madghoot Keka Mac App Store Archive Utility built in
Price Free download, 14-day free trial, then $1.99 once (lifetime). No subscription, no ads $6.49 on the Mac App Store; free from keka.io (optional tip-jar purchases) Free, built in
Creates 7Z Yes Yes No
Opens RAR Yes Partly note No
Madghoot and Keka compared. Facts as of October 2026. Sources: keka.io, Keka on the Mac App Store, Keka wiki: RAR compression, US App Store review feed.

Keka is a trademark or product name of its owner. Archive Utility is part of macOS, by Apple Inc. Madghoot is an independent app and is not affiliated with, endorsed by or sponsored by any of them.

RAR support in Madghoot 1.0
Format Open & extract Create Notes
RAR4 / RAR5 (unencrypted, dictionary up to 64 MB) .rar Yes No
RAR encrypted, header-encrypted, large-dictionary, RAR7 .rar Yes No Password-protected RAR (including encrypted file names), dictionaries over 64 MB and RAR7, opened with the bundled 7-Zip engine.
RAR multi-part (.partN.rar, .rar + .r00) .part1.rar.r00 Yes No Madghoot asks once for access to the folder so it can find the other parts.
RAR support in Madghoot 1.0. RAR is extract-only. Creating split archives is planned for 1.1.

7-Zip is a trademark or product name of its owner. Archive Utility is part of macOS, by Apple Inc. Madghoot is an independent app and is not affiliated with, endorsed by or sponsored by any of them.

Frequently asked questions

Q1?
A1 with link.
Q2?
A2 unzip.
Q3?
A3.