Reputation: 21
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.
Upvotes: 0
Views: 607
Reputation: 5511
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
Upvotes: 1