How to download multiple files in Google Cloud Storage?

+2 votes
We have many files uploaded on the Google storage bucket which is distributed among the team. Now downloading individual file is taking a  lot of time. Is there any way to download all/multiple files from the bucket .

Is it possible to do this without using the cloud sdk?
May 9, 2018 in GCP by nitinrawat895
• 10,670 points
4,059 views

2 answers to this question.

+1 vote

You can achieve this through the gsutil commands, it's not possible with the web UI. through this command, you can download multiple files in parallel.

$> gsutil cp -r gs://my_bucket/Directory

answered May 9, 2018 by kurt_cobain
• 9,240 points
0 votes

I recommend they use gsutil. GCS's API deals with only one object at a time. However, its command-line utility, gsutil, is more than happy to download a bunch of objects in parallel, though. Downloading an entire GCS "folder" with gsutil is pretty simple:

$> gsutil cp -r gs://my-bucket/remoteDirectory localDirectory
answered Aug 1, 2018 by bug_seeker
• 15,350 points

Related Questions In GCP

+1 vote
2 answers

How to open a port on google compute engine

You need to set the firewall rule ...READ MORE

answered Jul 9 in GCP by K sagar
94 views
0 votes
2 answers

How to install gcp in Python?

If you're accessing BigQuery in python, you ...READ MORE

answered Aug 20, 2018 in GCP by Priyaj
• 56,520 points
152 views
0 votes
1 answer

Tensorflow on Google Cloud Platform

There are a few ways to run ...READ MORE

answered Aug 1, 2018 in GCP by kurt_cobain
• 9,240 points
54 views
+3 votes
11 answers

How do I delete my Google Cloud Platform Account?

How do I delete me cloud and ...READ MORE

answered Jan 18 in GCP by dodge123@yahoo.com
12,980 views
0 votes
2 answers
0 votes
2 answers

Google Cloud datastore vs firebase

Google has already made a guide for ...READ MORE

answered Aug 20, 2018 in GCP by Priyaj
• 56,520 points
198 views
0 votes
1 answer
0 votes
1 answer

How to delete a project from Google Cloud Console

First of all, select the project you ...READ MORE

answered Apr 18, 2018 in GCP by kurt_cobain
• 9,240 points
143 views
0 votes
2 answers

How to transfer google cloud project ownership?

Go to IAM and Admin Then Select IAM Click Add Provide another user's ...READ MORE

answered Aug 20, 2018 in GCP by Priyaj
• 56,520 points
654 views