将公共数据下载到Google存储空间 [英] Download public data to google storage

查看:82
本文介绍了将公共数据下载到Google存储空间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用 gsutil 从链接直接下载公共数据到我的google存储桶。我无法执行任何命令。

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.

推荐答案

您可以使用curl从链接获取数据并将其通过管道传输到gsutil (它将流式传输到Google Cloud Storage),就像这样:

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-您的数据 | gsutil cp-gs://您的存储桶名称/您的对象名称

这篇关于将公共数据下载到Google存储空间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆