# ed cleaner scan

> Measure how much disk space you can reclaim from caches and generated project artifacts without changing files. This is the default subcommand.

- Canonical URL: https://getedith.pro/docs/cli/cleaner/scan
- Updated: 2026-12-02

Measure how much disk space you can reclaim from caches and generated project artifacts without changing files. This is the default subcommand.

```sh
ed cleaner scan --json
ed cleaner scan --category chromeCache
ed cleaner scan --root ~/code --category nodeModules --older-than 2w
```

`--category` selects an exact identifier from `ed cleaner categories`. `--root` adds project discovery and may be repeated. `--older-than` filters by modification age, with units `m`, `h`, `d`, `w`, `mo` or `y`. `--json` includes the complete category and item list with allocated sizes and paths.

Persistent path protections apply to discovery and removal. Cache children, including hidden children, are individually listed. Cache content dates reflect the newest measured modification. Project scanning uses project markers to distinguish generated artifacts from similarly named ordinary folders. A scan does not change the filesystem and does not authorize a later cleanup.

For general files, duplicates and installers use `ed cleaner review <folder>`. For filesystem allocation and largest-folder views use `ed cleaner map <folder>`.

[Cleaner](https://getedith.pro/docs/cli/cleaner) · [All commands](https://getedith.pro/docs/cli).

## Get Edith

Edith is a native Mac app for macOS 14 or later on Apple silicon with 100+ extensions, the `ed` command line and an MCP server. $35 once for one Mac, plus $7 for each additional Mac, with no subscription and a 30-day refund.

- [Buy Edith](https://getedith.pro/pricing): $35 once for one Mac, plus $7 for each additional Mac
- [Download Edith](https://getedith.pro/download): the installer, or Homebrew
