Documentation / Finder badges

Finder badges

A Finder extension puts a small snowflake on every file that Coldpack, or anything else, compressed with APFS compression, in the folders Coldpack watches.

Turn it on

Open System Settings, Login Items & Extensions, Finder, and switch on the Coldpack extension. From the terminal: pluginkit -e use -i com.sstraus.coldpack.finder.

What gets a badge

A badge appears for a file that is inside a watched folder, not under a "never compress" rule that names only a path, and that the system reports as compressed. The extension reads metadata only. It never opens a file and never reads content. Answers are cached for 10 seconds for each path.

How the app and the extension talk

The app writes the scope (watched folders and exclusions) to ~/Library/Application Support/Coldpack/finder/scope.json when it starts, when settings change, and only if the content changed. The extension, which runs in a sandbox with a read-only exception for that one folder, watches the file's modification time and reloads it within seconds. There is no network and no extra permission.

If no badge appears

Edition note. Badges ship in the default build. The App Store edition does not package the extension yet.