简体   繁体   中英

How to upload thousands of folders to firebase storage at once

I have a client that needs to upload thousands of folders to firebase storage at one time. I have tried uploading a.zip file, but can not figure out how to unzip it. I have followed every guide out there.

Is there a way to batch upload thousands of file folders to a google cloud storage bucket at one time?

To add to John Hanley's comment:

You must upload each file. You can upload in parallel. Google Cloud Storage does not provide processing power to do things like unzipping files. Google published a CLI to upload files: gsutil .

If you have a large number of files to transfer, you can perform a parallel multi-threaded/multi-processing copy using the top-level gsutil -m option:

gsutil -m cp -r dir gs://my-bucket

Additionally, in Parallel Composite Upload , gsutil can automatically use object composition to perform uploads in parallel for large, local files being uploaded to Cloud Storage. You can also check this documentation regardingUploads , that discusses size considerations in uploading, and further explanation of Parallel Composite Uploads .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM