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")
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-09-04 (世界標準時間)。"],[],[],null,["# gdcloud storage objects list\n\nNAME\n----\n\ngdcloud storage objects list - List storage objects.\n\nSYNOPSIS\n--------\n\n gdcloud storage objects list URLs [URLs ...]\n [--format=FORMAT]\n [--log-http]\n [--verbosity=VERBOSITY] [flags]\n\n### EXAMPLES\n\n The following command lists all objects in bucket my-bucket:\n\n gdcloud storage objects list s3://my-bucket\n\n The following command lists all objects in bucket beginning with \"o\":\n\n gdcloud storage objects list s3://my-bucket/o*\n\n The following command lists all objects in bucket with JSON formatting, only returning the\n value of the name metadata field:\n\n gdcloud storage objects list s3://my-bucket --format=\"json(name)\"\n\n### OPTIONAL FLAGS\n\n --log-http Log all HTTP server requests and responses to stderr.\n --verbosity string Override the default verbosity for this command. VERBOSITY must be one of:\n debug, info, warning, error, critical, none. (default \"warning\")\n\n### GDCLOUD WIDE FLAGS\n\nThese flags are available to all commands: `--configuration`, `--format`, `--help`, `--project`, `--quiet`.\n\nFor more information, see the [gdcloud CLI reference overview](/distributed-cloud/hosted/docs/latest/appliance/resources/gdcloud-reference/gdcloud) page."]]