Command reference
ed shelf ls
Lists everything on the shelf, newest first.
Usage:
ed shelf ls [--json]Options:
| Name | Type / values | Default | What it does |
|---|---|---|---|
--json |
flag | off | Emits one JSON document on stdout. |
There are no positional arguments, and there is no limit, search or filter:
ls always prints the whole shelf.
--json shape, an array with one object per item, in the same order the table
prints:
[ { "addedAt": "2026-08-03T15:54:20Z", "exists": true, "id": "DFB41F1C-26A1-4E03-86F7-83AACFFABC28", "index": 1, "name": "screenshot.png", "path": "/Users/you/Library/Application Support/Edith/Shelf/screenshot.png", "position": { "x": 120, "y": 60 }, "sizeBytes": 225070 }, { "addedAt": "2026-08-01T09:12:44Z", "exists": true, "id": "6C2B0A55-9F41-4B7C-9D0E-2A1F7E3C8B10", "index": 2, "name": "notes 2.pdf", "path": "/Users/you/Library/Application Support/Edith/Shelf/notes 2.pdf", "position": null, "sizeBytes": 48211 }]index is the number path and rm take. id is the item's UUID from the
index file, stable for the life of the item and accepted nowhere as an
argument. name is the filename on the shelf, which is not always the name of
the file you added. path is name joined onto the shelf folder, so it is
always flat and always absolute. sizeBytes and exists are measured on disk
at the moment you run the command, not stored: a file removed behind the
index's back reports "sizeBytes": 0 and "exists": false rather than
disappearing from the list. position is the stored notch canvas coordinate or
null before an item is moved. addedAt is ISO 8601 in UTC, to the second.
Examples:
ed shelf lsed shelf --jsoned shelf ls --jsonThe table is four columns: the item number, the name on the shelf, its size, and when it was added.
$ ed shelf ls# NAME SIZE ADDED1 screenshot.png 225 KB 2026-08-03T15:54:20Z2 notes 2.pdf 48.2 KB 2026-08-01T09:12:44ZBehaviour: ls reads the index and stats each file, and writes nothing. An empty shelf is not an error:
without --json it writes the shelf is empty to stderr, leaves stdout empty
and exits 0, and with --json it prints [] and exits 0. An unreadable or
absent index decodes to an empty shelf, so a corrupted index looks exactly like
a shelf you have never used.
Where to go next
ed shelf, the rest of this group- All
edcommands