TinyPrune is a free, MIT-licensed macOS app for automatic file cleanup with expiry rules. Choose folders, preview which downloads, screenshots or developer artifacts will expire, and protect important items with Keep. Eligible items move to macOS Trash, never permanent deletion.
macOS 14+ on Intel and Apple silicon. macOS is the only supported product and the public release focus while it stabilizes. The latest published macOS release is 0.2.3, an ad-hoc signed, not notarized GitHub prerelease; see its release record. Windows and Linux development is paused; neither is offered for new public installs.
Website · Documentation · Downloads and release notes · Report a problem
- Trash only. Items are moved to Trash, never permanently deleted. Items stay in the Trash until you or macOS empty it; use Finder's Put Back to restore, if available.
- Preview first. Broad and developer rules start in Preview, and very broad folders (home,
/Users,/Volumes,/private, whole volumes) are Preview-only, which schedules and explains matches but never touches a file. - Keep always wins. A kept item is never trashed, and neither is a folder containing one. Keep matches by file identity and falls back to its recorded path.
- Explained decisions. Every candidate shows its rule, basis, deadline and overrides.
- Local and private. Core cleanup reads filesystem metadata, never file contents, and needs no account or network. The app has no telemetry. Optional update checks use HTTPS and are on by default; the update path depends on how the app was installed, as described below. Installation always requires your confirmation. The website separately uses Google Analytics and PostHog.
- Three interfaces, one engine. The app, a Finder menu and the
tinypruneCLI all talk to the same background agent.
| Use case | Starting rule | Important boundary |
|---|---|---|
| Downloads | Top-level DMGs after 7 days, ZIPs after 14, other items after 30 days in the folder | Review files you want to retain and mark them Keep. |
| Screenshots | Screenshot and Screen Shot filenames, 7 days after creation | Choose the folder where your Mac actually saves screenshots. |
| Developer dependencies | node_modules and .venv after project inactivity |
Start in Preview; dependency changes alone do not prove meaningful project activity. |
| Build output | dist, build, target, coverage, and .cache after 30 days of project inactivity |
Match generated folders, not your source or release archives. |
| AI coding-agent leftovers | Dedicated scratch workspace, session logs, edit backups, or debug logs | TinyPrune does not identify which tool created a file. Transcripts and backups may be irreplaceable. |
See the template reference for defaults, cache risks, and excluded folders, or the AI agent cleanup guide for scratch work and worktree cautions.
Moving files to Trash does not immediately free disk space. TinyPrune does not empty Trash or guarantee recovery after you or macOS empty it. It is a lifecycle-rule utility, not a duplicate finder, antivirus, or system optimizer.
Requires macOS 14 or later (Intel and Apple silicon).
brew install --cask navig-me/tap/tinypruneHomebrew installs 0.2.3. The public cask points to the published 0.2.3 DMG (build 26). The direct macOS download is also available. A real Homebrew upgrade from 0.2.2 to 0.2.3 was observed: the app and agent recovered and reported available after a first-spawn agent termination by macOS before main (Code Signature Invalid / Launch Constraint Violation). The exact constraint and cause remain unproven; no mitigation has shipped. Repeat upgrade/restart stability remains pending; see the release record. If 0.2.1 crashes on launch, run brew upgrade --cask tinyprune; 0.2.2 fixed that separate app crash.
Early releases are unsigned, not notarized pre-releases. The Homebrew cask clears quarantine for you. If you download the DMG directly, copy TinyPrune.app to Applications, try opening it once, then allow it under System Settings → Privacy & Security → Open Anyway. Homebrew installs update only with brew upgrade --cask tinyprune.
Key-enabled direct builds support Sparkle updates authenticated by EdDSA-signed feeds, release notes and DMGs, including ad-hoc builds without an Apple account. Check for new versions is on by default in Settings; Update Now opens the native confirmation dialog and installation is never automatic. Homebrew never constructs Sparkle; Homebrew and direct copies without a public key use GitHub release notices and manual download or brew upgrade. The Trash/update interlock remains active, including interrupted-update recovery for matching key-enabled ad-hoc direct targets.
The live macOS Sparkle feed publishes 0.2.3 (build 26, newest), retaining builds 25, 24, 23 and 22. Its protected public-verification workflow passed, checking the live feed, release notes and DMG hash/signature against the app's existing public key. This verifies publication and authentication, not production update installation; a Sparkle in-app update from 0.2.2 to 0.2.3 has not been verified.
EdDSA does not notarize the app or change first-install Gatekeeper approval. Sparkle replacements are expected not to carry browser-download quarantine, but an actual older/newer end-to-end installation remains unverified. See ADR 0009 for update trust, private-key loss/rotation and acceptance requirements.
On first launch, approve the background agent under System Settings → General → Login Items & Extensions, and enable the Finder extension there if you want the Finder menu.
- Open TinyPrune and authorize a folder you control, such as Downloads.
- Add a template and leave it in Preview.
- Review Upcoming and each item's explanation. Mark anything you want to retain Keep.
- Enable the rule only after the matches and deadlines are right. Pause cleanup whenever needed.
The installation guide, rule guide, and Preview guide explain the workflow. The Finder extension and CLI use the same background agent as the app.
With the macOS background agent installed and folder access granted:
tinyprune status
tinyprune upcoming --json
tinyprune why ~/Downloads/example.zip
tinyprune keep ~/Downloads/example.zip
tinyprune pause
tinyprune resumePaths above are examples; use an item inside a folder you already manage. See the CLI reference for expiry overrides, configuration, JSON output, and exit codes.
git clone https://github.com/navig-me/tinyprune && cd tinyprune
swift Scripts/package-app.swift
open .build/package/TinyPrune.appTests: see AGENTS.md. Architecture and release process: PLAN.md, ADRs/, .github/DEPLOYMENT.md. Every release (version, artifacts, signing mode, checksums, build number and verification status, including prepared, withdrawn and yanked ones) is recorded in RELEASES.md; the maintainer runbook is .github/RELEASING.md.
Windows and Linux development and new public releases are paused while macOS stabilizes. Earlier unsigned Rust previews are historical engineering evidence, not recommended public installs. Their immutable assets and existing signed update feed remain intact for installed preview users; no signing key is changed.
The Rust implementation has recorded CI/container coverage, not desktop acceptance. See the Rust workspace status matrix for tested environments and pending platform work. Swift remains the behavioral reference (ADR 0010); the Rust agent does not replace the macOS agent. Historical publication evidence remains in RELEASES.md.
MIT. Bundled fonts and Sparkle keep their own licenses; see NOTICE.md.
- Globs without
/match the item name at any depth (like.gitignore); globs with/match the path relative to the managed folder. Only*,?and**are supported. - The Downloads and Temporary Workspace templates act on top-level items only.
- CLI exit codes:
0ok,64usage,65invalid data,69agent unavailable,70agent error,75timed out/interrupted/busy (the request may have been applied; checktinyprune status),78config roots not managed.--jsonerrors are JSON too.
See CHANGELOG.md for changes.
