Skip to content

CLI Clipboard Clear

github-actions[bot] edited this page Aug 9, 2026 · 1 revision

ed clipboard clear

Forgets the whole history.

ed clipboard clear [--keep-pinned] [--json]
Name Type / values Default What it does
--keep-pinned flag off Keep pinned entries.
--json flag off Emit JSON on stdout.
{
  "remaining": 3,
  "removed": 1214
}

removed is a count here, and remaining is what survived, which is 0 without --keep-pinned and the number of pinned entries with it.

There is no confirmation flag on this one: unlike ed machines rm or ed cleaner clean, clear acts immediately. Orphaned blobs are pruned with it, so the disk space comes back at once. Clearing an already empty history writes nothing and reports cleared 0 entries, exit 0.

Examples:

ed clipboard clear
ed clipboard clear --keep-pinned
ed clipboard clear --json
$ ed clipboard clear --keep-pinned
cleared 1214 entries

Where to go next

CLI reference

Getting Started
Config
App
Extensions
Permissions
Usage
System
Music
Calendar
Clipboard
Color
Download
Apps
Tools
Shelf
Cleaner
Machines
Machines Remote
Machines Docker
Machines Files
Machines Power
Machines Workspace
Companion
Herdr
Lid Awake
Machines Thermal

Guides

Clone this wiki locally