问题
I want to download public data directly from the link to my google storage bucket using gsutil. I can't any command to do so.
回答1:
You can use curl to get data from a link and pipe it to gsutil (which will stream it to Google Cloud Storage) like so:
curl 'https://www.website.com/link-to-your-data' | gsutil cp - gs://your-bucket-name/your-object-name
来源:https://stackoverflow.com/questions/47778015/download-public-data-to-google-storage