Zebflow Docs
fs.folder.list
Zebflow Docs

fs.folder.list

List the immediate children of the folder --from names in a project store (/ is the store's root)

fs.folder.list --from TEXT [--store TEXT] → folder

List the immediate children of the folder --from names in a project store (/ is the store's root). One level; it does not recurse. Adds folder: { path, items, count } — each item { name, path, size, modified, kind, content_type }, kind being object or prefix — and keeps the rest of the payload, so the next node reads input.folder.items.

Flags

  • --from (required): The folder to list, a store key; / is the store's root.
  • --store: The store a bare key is read from: local, or the id of an s3 credential; a FileRef is read from its own store. Saved explicitly when the pipeline is registered.

Examples

List a folder

| fs.folder.list --from uploads

Input:

json
{  "keep": true}

It answers:

json
{  "keep": true,  "folder": {    "path": "uploads",    "count": 1,    "items": [      {        "name": "a1.jpg",        "path": "uploads/a1.jpg",        "size": 1723,        "modified": "2026-09-13T04:00:00Z",        "kind": "object",        "content_type": "image/jpeg"      }    ]  }}