Skip to content

attach

FunctionLists, deletes (to trash), or renames page attachments on the current page or a named page.
OptionsWrites require -y / --yes on attach rm and attach mv.
LimitationsPage attachments only (not spaces). Trash only — no purge. No upload. Same space as the page. Not a bulk attachment migrator.
  • attach ls [PAGE] — list attachment file names on the current page or on PAGE.
  • 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.

$ attach ls
$ attach ls ./Runbook
$ attach rm -y screenshot.png
$ attach mv -y old-name.pdf new-name.pdf ./Runbook