Download Google Cloud Bucket to Specific Folder on Local Machine

Viewed 88

I'm trying to download an entire bucket to my local machine.

I'm aware that the command to do this is:

gsutil -m cp -r \ "gs://bucket_name/folder_name/" \ .

However, I'd like to specify exactly where this gets downloaded on my machine due to storage limitations.

Can anyone share any advice regarding this?

Thanks in advance,

Tommy

1 Answers

You can place your download files where you want to put by adding a destination url value to the last parameter of the gsutil cp command you are using, for example:

gsutil -m cp -r "gs://bucket_name" "D:\destination_folder"
Related