Skip to content

Commit 73303e5

Browse files
Oxyjunaninibread
andauthored
Update src/content/docs/r2/buckets/storage-classes.mdx
Co-authored-by: Anni Wang <[email protected]>
1 parent 8a31dfe commit 73303e5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/content/docs/r2/buckets/storage-classes.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,11 @@ Use the `x-amz-storage-class` header to change between `STANDARD` and `STANDARD_
9494
An example of switching an object from `STANDARD` to `STANDARD_IA` using `aws cli` is shown below:
9595

9696
```sh
97-
aws s3api --endpoint-url https://<ACCONUT_ID>.r2.cloudflarestorage.com \
98-
--copy-object \
97+
aws s3api copy-object \
98+
--endpoint-url https://<ACCONUT_ID>.r2.cloudflarestorage.com \
9999
--bucket bucket-name \
100100
--key path/to/object.txt \
101-
--copy-source bucket-name/path/to/object.txt \
101+
--copy-source /bucket-name/path/to/object.txt \
102102
--storage-class STANDARD_IA
103103
```
104104

0 commit comments

Comments
 (0)