gdcloud storage objects list

名称

gdcloud storage objects list - 列出存储对象。

摘要

gdcloud storage objects list URLs [URLs ...]
    [--format=FORMAT]
    [--log-http]
    [--verbosity=VERBOSITY] [flags]

示例

The following command lists all objects in bucket my-bucket:

    gdcloud storage objects list s3://my-bucket

The following command lists all objects in bucket beginning with "o":

    gdcloud storage objects list s3://my-bucket/o*

The following command lists all objects in bucket with JSON formatting, only returning the
value of the name metadata field:

    gdcloud storage objects list s3://my-bucket --format="json(name)"

可选标志

      --log-http           Log all HTTP server requests and responses to stderr.
      --verbosity string   Override the default verbosity for this command. VERBOSITY must be one of:
                           debug, info, warning, error, critical, none. (default "warning")

GDCLOUD 全局标志

以下标志适用于所有命令:--configuration--format--help--project--quiet

如需了解详情,请参阅 gdcloud CLI 参考概览页面。