For the complete documentation index, see llms.txt. This page is also available as Markdown.

list

List objects (keys) in a bucket

Usage

ionosctl object-storage object list [flags]

Aliases

For object-storage command:

[os]

For object command:

[obj]

For list command:

[l ls]

Description

List the objects in a bucket, showing each key with its size, storage class, last-modified time and ETag.

Only CURRENT objects are listed - on a versioning-enabled bucket, older versions and delete markers are not shown here. Keys are returned in lexicographic (alphabetical) order.

--prefix restricts the listing to keys that start with a given string. Because "/" in a key is just a naming convention, a trailing-slash prefix like photos/ acts as a pseudo-folder filter.

--max-keys caps how many objects are returned; the command paginates transparently under the hood (in pages of up to 1000) until it has that many or the bucket is exhausted. Pass 0 to return every object in the bucket with no cap.

Options

Examples

Last updated