-
Notifications
You must be signed in to change notification settings - Fork 4
CLI Shelf Path
github-actions[bot] edited this page Aug 9, 2026
·
1 revision
Prints the full path of one shelf item.
Usage:
ed shelf path <n> [--json]
Arguments:
| Name | Type / values | Default | What it does |
|---|---|---|---|
<n> |
integer, 1 or more | required | The item number from ed shelf ls, counting from 1. |
Options:
| Name | Type / values | Default | What it does |
|---|---|---|---|
--json |
flag | off | Emits one JSON document on stdout. |
--json shape, the same object ls emits for that item:
{
"addedAt": "2026-08-03T15:54:20Z",
"exists": true,
"id": "DFB41F1C-26A1-4E03-86F7-83AACFFABC28",
"index": 1,
"name": "screenshot.png",
"path": "/Users/pulkit/Library/Application Support/Edith/Shelf/screenshot.png",
"sizeBytes": 225070
}Examples:
ed shelf path 1
ed shelf path 1 --json
open "$(ed shelf path 1)"
cp "$(ed shelf path 2)" ~/Desktop/
Without --json the output is the bare path on one line and nothing else,
which is what makes it worth substituting into another command:
$ ed shelf path 1
/Users/pulkit/Library/Application Support/Edith/Shelf/screenshot.png
Behaviour: path prints where the copy lives, not where the original came
from; the shelf does not record the source. It reports the path whether or not
the file is still there, so check exists in the JSON if that matters. A
number below 1 or above the count exits 3 and says how many items the shelf
holds, and asking on an empty shelf exits 4:
$ ed shelf path 9
error: there is no shelf item 9
hint: the shelf holds 2 items, numbered from 1
$ ed shelf path 1
error: the shelf is empty
hint: drag something onto the notch, or run `ed shelf add <file>`
-
ed shelf, the rest of this group - All
edcommands
Auto-generated from docs/, edit the docs in the repo, not the wiki.
CLI reference
Companion
- Deploy
- Concepts
- Concepts Memory
- Concepts Ingestion
- Concepts Search
- Concepts Chat
- Concepts Learning
- Concepts Brain
- Concepts Friend
- Hosts
- Stack
- Status
- Doctor
- Search
- Index
- Ingest
- Episodes
- Sync
- Observations
- Reflect
- Beliefs
- Ask
- Extract
- Claims
- Corroborate
- Runs
- Chat
- Conversations
- Forget
- Export
- Import
- Erase
- Wipe
- Episode
- Nightly
- Reason
- Personas
- Council
- Lenses
- Core
- Why
- Hypotheses
- Predictions
- Commitments
- Discrepancies
- Calibration
- Inquire
- Entities
- Eval
- Standup
- Machines
- Baselines
- Connectors
- Facts
- Correct
- Weekly
- Db
Guides