问题
I can't seem to find the documentation about how to upload files that are greater than 30MB to google cloud storage. I have just been using:
gsutil cp test.csv gs://example
Any help would be awesome. Thanks
回答1:
If you are using the CSV format you can also upload the gzip version. Just create a gzip file and upload on GCS using below:
gsutil cp <localgzipfile> gs://location/of/gzipfile.csv.gz
I am using this strategy to upload more than 200MB flat file whose gzip version is mere 40 MB. Hope this helps.
More info can be found here
来源:https://stackoverflow.com/questions/26137039/how-do-i-upload-a-file-size-greater-than-30mb-to-google-cloud-storage-with-gsuti