1. Peel
  2. The Pith
  3. One file
Essay · Design

What Peel Does When You Want One File

An addendum on opening an archive for one image: what Peel does today, and where it still makes a folder.

By · · The Pith, no. 16 · 3 min read

A projectionist at a workbench between two film reels, seen from behind, pointing to a glowing circle in the upper right of the frame

On my own site I wrote The Folder I Didn’t Need, about a small job: someone sends an archive with a few hundred files, and I want one image out of it. That essay, like Why Are We Still Extracting Archives?, argues for keeping browsing, previewing and extracting apart. This note is the other half. It says what Peel does with that job today, and where it still falls short.

Opening the archive

When browsing is the double-click choice in Peel’s settings, a plain ZIP opens as a folder in the same Finder window, with no extracted copy beside it. Other formats go through PeelFS, Peel’s read-only file system extension, when it is enabled. Without it, Peel builds a browse folder beside the archive and opens that.

PeelFS reads a ZIP one entry at a time, so opening my image decodes that image. A solid 7z or RAR, or a compressed tar, is extracted once into a bounded cache when it mounts. The listing looks the same either way. The work behind it doesn’t.

Looking without opening

Quick Look shows an archive’s list without opening it: select the archive in Finder and press Space. Peel reads ZIP and tar itself. 7z, RAR, xz and the other formats go through the engine with a time limit and a size cap, and a tar stream stops at the cap. When a preview runs out, it gives up quietly instead of holding up Finder.

Letting you move on

The essay asks for a way out of a slow preview. While Peel opens an archive in Finder, the archive’s icon shows progress and a cancel control. The engine checks for a cancel inside long 7z and RAR entries too, including the solid data it has to decode and throw away before it reaches the entry you asked for, so reading one entry stops within a fraction of a second.

Changing the archive instead

Sometimes the better fix is the archive itself. File ▸ Make a Working Copy… re-packs any archive Peel can read as a ZIP in which each file is compressed on its own, so one file can be read without decoding its neighbours. Make a Cold Copy… goes the other way, to a solid 7z. Peel labels the source Working or Cold so you can tell which you have. Names, paths and contents come through byte for byte, the original is never changed, and symbolic links are not carried over. The peel unsolidify and peel solidify commands do the same from Terminal.

Where it falls short

PeelFS mounts only once its switch in System Settings is on, and on macOS 27.0.1 the File System Extensions switch doesn’t save for third-party modules (FB25209882). Until that is fixed, formats other than plain ZIP open as a browse folder beside the archive: the extra folder the essay complains about.

A solid archive still costs a full decode the first time it mounts, before any one file inside it is quick to open.

I haven’t run the measurement from issue 11. Peel doesn’t yet report time to the first entry, decoded bytes or peak temporary space, so I can’t yet say how much faster a one-file preview is than extracting everything.

What this means

For a ZIP, Peel already keeps finding a file apart from extracting it. For a solid archive, it gives you a way out when a preview is slow and a way to make a copy that is cheap to read from. The next step is measuring it, so the claim rests on numbers instead of on what appears in Finder.

References and further reading

  1. Zach Shallbetter. The Folder I Didn’t Need, the essay this note follows.
  2. Why Are We Still Extracting Archives?, The Pith, issue 11, with the proposed experiment.
  3. 7-Zip. Notes on solid archives.
Read next · No. 07 · SecuritySmall Files, Big ProblemsOpening an archive without extracting it still means trusting its claims. What a safe reader checks before it writes anything.
Peel's icon: an orange on a cream tile

Get Peel. Free forever.

No account, no ads, no trial. Everything Peel does today stays free, and it keeps itself up to date.

Download Peel 1.5.1 brew install --cask snackstudio/tap/peel
Requirements
macOS 13 Ventura or later, on Apple silicon or Intel.
Install
Open the installer and follow it. Or open the disk image and drag Peel to Applications, or run brew install --cask snackstudio/tap/peel in Terminal.
Updates
Peel updates itself, and every update is signed. To check now, choose Peel ▸ Check for Updates…
Uninstall
Drag Peel to the Trash, or run brew uninstall --cask peel.
Price
Free. No account, no ads, no trial.
Privacy
Your files never leave your Mac, and the app has no analytics. This site counts visits to learn what helps; the privacy policy says how.