Skip to content

Collections

List Collections

zot collection list

Displays all collections in a tree view showing parent-child relationships.

View Collection Items

zot collection items COLKEY01

Create a Collection

zot collection create "New Project"

Move Item to Collection

zot collection move ITEMKEY COLKEY

Rename a Collection

zot collection rename COLKEY "Better Name"

Delete a Collection

zot collection delete COLKEY --yes

Batch Reorganize

Reorganize items into new collections using a JSON plan:

zot collection reorganize plan.json

Example plan.json:

{
  "collections": [
    {
      "name": "Transformers",
      "items": ["KEY1", "KEY2", "KEY3"]
    },
    {
      "name": "Self-Attention",
      "parent": "Transformers",
      "items": ["KEY4", "KEY5"]
    }
  ]
}