CmdID

CmdID / Commands

gsutil

Access Google Cloud Storage. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Access Google Cloud Storage. You can use gsutil to do a wide range of bucket and object management tasks.

List all buckets in a project you are logged into

gsutil lsIdentify

List the objects in a bucket

gsutil ls -r 'gs://bucket_name/prefix**'Identify

Download an object from a bucket

gsutil cp gs://bucket_name/object_name path/to/save_locationIdentify

Upload an object to a bucket

gsutil cp object_location gs://destination_bucket_name/Identify

Rename or move objects in a bucket

gsutil mv gs://bucket_name/old_object_name gs://bucket_name/new_object_nameIdentify

Create a new bucket in the project you are logged into

gsutil mb gs://bucket_nameIdentify

Delete a bucket and remove all the objects in it

gsutil rm -r gs://bucket_nameIdentify