Copy, modify, and move storage objects in projects

This page shows you how to copy, modify, and move objects within Google Distributed Cloud (GDC) air-gapped storage buckets.

Before you begin

A project namespace manages bucket resources in the org admin cluster. You must have a project to work with buckets and objects.

You must also have the appropriate bucket permissions to perform the following operation. See Grant bucket access.

Copy, modify, and move objects

Copy an object:

gdcloud storage cp FILE  [FILE...] s3://BUCKET [/PREFIX ]

Modify an object's metadata:

gdcloud storage objects update s3://BUCKET1/OBJECT --custom-metadata=Key1=Value1

Move an object:

gdcloud storage mv s3://BUCKET1/OBJECT1 s3://BUCKET2[/OBJECT2]