mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-10 11:21:48 +00:00
gcloud: Wed Apr 26 10:24:37 UTC 2023
This commit is contained in:
parent
b33a8a3e6e
commit
2ae1bc2b12
276 changed files with 6093 additions and 833 deletions
|
|
@ -11,20 +11,20 @@ SYNOPSIS
|
|||
DESCRIPTION
|
||||
List Cloud Storage objects.
|
||||
|
||||
Bucket URLs like "gs://bucket" will match all the objects inside a bucket,
|
||||
but "gs://b" will error because it matches a list of buckets.
|
||||
Bucket URLs like gs://bucket match all the objects inside a bucket, but
|
||||
gs://b* fails because it matches a list of buckets.
|
||||
|
||||
EXAMPLES
|
||||
List all objects in bucket "my-bucket":
|
||||
List all objects in bucket my-bucket:
|
||||
|
||||
$ gcloud storage objects list gs://my-bucket
|
||||
|
||||
List all objects in bucket beginning with "o":
|
||||
List all objects in bucket beginning with ``o'':
|
||||
|
||||
$ gcloud storage objects list gs://my-bucket/o*
|
||||
|
||||
List all objects in bucket with JSON formatting, only returning the value
|
||||
of the "name" metadata field:
|
||||
of the name metadata field:
|
||||
|
||||
$ gcloud storage objects list gs://my-bucket --format="json(name)"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue