Unpacking parts of a file using GSUTIL before downloading

I am downloading a bunch of ZIP files from GCS using gsutil. Then I extract them to my local disk and save only those files that I need.

gsutil cp gs://uspto-pair/applications/*.zip .    
unzip  -jo  \\*.zip *SRNT.pdf -d ./SRNT_files

This works fine, but seems useless in the bandwidth (I drop most of the content).

Is there a way to unzip the file to GCS, and then upload only the parts that I need?

+4
source share
1 answer

No, there is not enough knowledge for Cloud Storage. If bandwidth is a problem, perform this operation from an instance of the Compute Engine. Download will be very fast.

App Engine, , ( , ). , (< 100MB).

+4

Source: https://habr.com/ru/post/1541095/


All Articles