Skip to content

gcs.list

gcs · scripts/+gcs/list.m

: paths = gcs.list (bucket)
: paths = gcs.list (bucket, prefix)

List object paths in a Google Cloud Storage bucket.

Returns a column string array of object names. When prefix is given, only names that start with that prefix are returned. An empty bucket (or unmatched prefix) yields a 0-by-1 empty string array.