Skip to content

Commit 04ca211

Browse files
Merge pull request #88 from gurusai-voleti/ai-gsutil-migration-a3c31cf437464ae796e89399521de6c4
chore: Migrate gsutil usage to gcloud storage
2 parents e56d586 + 0bdc598 commit 04ca211

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

transcoding/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ Run the following commands to create a new bucket and copy tutorial files to the
4747
Make sure you're in this `transcoding` directory.
4848

4949
```
50-
gsutil mb -p [PROJECT_ID] -b on -l US gs://[BUCKET_NAME]
51-
gsutil cp -R transcode.sh input gs://[BUCKET_NAME]
50+
gcloud storage buckets create gs://[BUCKET_NAME] --project=[PROJECT_ID] --uniform-bucket-level-access --location=US
51+
gcloud storage cp --recursive transcode.sh input gs://[BUCKET_NAME]
5252
```
5353

5454
To learn more about creating storage buckets, see the [Cloud Storage documentation](https://cloud.google.com/storage/docs/creating-buckets).
@@ -237,7 +237,7 @@ status:
237237
The job stores encoded video files in the same Cloud Storage bucket. To list the objects, run:
238238
239239
```
240-
gsutil ls -lR gs://[BUCKET_NAME]/output
240+
gcloud storage ls --long --recursive gs://[BUCKET_NAME]/output
241241
```
242242

243243
It displays a list of the encoded video files.
@@ -256,7 +256,7 @@ You can also browse the objects with the [Console](https://console.cloud.google.
256256
To download the files, run:
257257

258258
```
259-
gsutil cp -R gs://[BUCKET_NAME]/output .
259+
gcloud storage cp --recursive gs://[BUCKET_NAME]/output .
260260
```
261261

262262
You will find the new files in the output directory inside the current directory.

0 commit comments

Comments
 (0)