Documentation / The menu-bar app

The menu-bar app

Coldpack lives in the menu bar. The popover shows what it is doing. Settings holds everything else.

The menu-bar icon

IconState
SnowflakeIdle: watching for cold files.
MagnifierScanning your files.
Circular arrows (pulsing blue)Compressing a batch. It stays blue for a few seconds after the last read, so a short batch does not flash.
Pause barsPaused.

The popover

Click the icon. From top to bottom you see:

  1. The state and a pause or resume switch.
  2. A banner when something needs you, for example the message of an invalid settings.json with an Open file link.
  3. The space card: Freed so far, divided into compression and duplicates. In dry run it shows the estimate and the Start Freeing Space button.
  4. Duplicate Files… and Cleanup Suggestions…, each with the space you could get back.
  5. Details: the counts Compressed and Hot (files that changed recently and wait for the cooldown), Queued in dry run, and a switch for Wait until the Mac is idle.
  6. Settings… (⌘,), Check for Updates… and Quit Coldpack (⌘Q).
The popover in dry run, with the estimate and the Start Freeing Space button
Dry run: estimate only
The popover while compressing
Compressing a batch
The popover when paused
Paused
The popover with an invalid settings file
Invalid settings file

Screens show sample values.

Turning dry run off

Dry run on needs no question. Dry run off asks first (Start compressing?) and shows the estimate: how many files are queued and how many bytes Coldpack expects to save. Without a license key, Coldpack asks for the key before that question (see License key).

If something goes wrong

If Coldpack cannot roll a file back, the popover shows Stopped and the reason, and compression stays off until recovery finishes. If settings.json is invalid, Coldpack keeps the last valid settings and shows the message.

The Settings window

Open it with Settings…. Every change is checked like a file load before it is saved. An invalid edit is refused and the reason is shown.

General

The General tab
ControlWhat it does
Dry runOnly estimate the saving. Coldpack does not change files.
Coldpack LicenseShows if the app is activated. Activate… asks for your license key. An activated license works offline.
Wait until the Mac is idleWork only after 5 minutes without keyboard or mouse. Battery, heat and Low Power Mode still pause work.
CooldownTime since the last change before a file is a candidate.
Minimum savingSkip a file when compression saves less than this share.
Minimum and maximum file sizeSmaller files gain almost nothing. The maximum is saved, but the engine does not apply it yet.
Open at loginRegisters the app as a login item.
Settings fileOpen or reveal settings.json.

Scope, Rules and Schedule

See Rules and scope and When Coldpack works.

Advanced

The Advanced tab

The churn backoff (first wait, longest wait, folder strikes) is saved and validated, but the engine does not read it yet; it uses the default schedule of 1, 2, 4, 8, 16 and 32 days. The tab also opens the log, shows the state database and the journal, and has Compact Now, which cleans old rows and rewrites the database file without free space. Compact runs between files.

Save safety

Before the app saves, it compares settings.json with what it loaded or last wrote. If you edited the file by hand, if the file is invalid, or if it comes from a newer version of Coldpack, the save stops and you choose: Cancel, Overwrite (the old file is first copied to settings.json.bak), or Load the File.