Skip to content
Edith

Docs

Command reference

ed machines files mkdir

Makes a directory on the machine.

Output
ed machines files mkdir <machine> <path> [--json]
Name Type / values Default What it does
machine machine name, SSH alias, id or unambiguous prefix required Which machine.
path remote directory path required The directory to make.
--json flag off Emit JSON on stdout.
JSON
{  "done": true,  "machine": "Devbox",  "path": "/home/you/backup/2026-08"}
Output
ed machines files mkdir devbox /home/you/backuped machines files mkdir devbox /srv/releases/2026-08/staginged machines files mkdir devbox /tmp/work --json

What runs is mkdir -p, so missing parents are created in one go and a directory that already exists is not an error: it prints made <path> and exits 0. A path the account cannot write exits 1 with the machine's message. The Files pane's New Folder action does the same, then refreshes the directory and starts renaming the new item.

Where to go next