attach
| Function | Lists, deletes (to trash), or renames page attachments on the current page or a named page. |
| Options | Writes require -y / --yes on attach rm and attach mv. |
| Limitations | Page attachments only (not spaces). Trash only — no purge. No upload. Same space as the page. Not a bulk attachment migrator. |
Subcommands
Section titled “Subcommands”attach ls [PAGE]— list attachment file names on the current page or onPAGE.attach rm -y NAME [PAGE]— move one named attachment to trash.attach mv -y OLD NEW [PAGE]— rename an attachment on the page.
PAGE is optional when you are already cd’d to that page.
Examples
Section titled “Examples”$ attach ls$ attach ls ./Runbook$ attach rm -y screenshot.png$ attach mv -y old-name.pdf new-name.pdf ./Runbook