[英]How to download a folder to my local PC from Google Cloud console
I have a folder I want to download from Google Cloud Console using the Linux Ubuntu command terminal.我有一个文件夹,我想使用 Linux Ubuntu 命令终端从 Google Cloud Console 下载。 I have logged in to my SSH console and so far I can only list the contents of my files as follows.
我已经登录到我的 SSH 控制台,到目前为止我只能列出我的文件内容如下。
cd /var/www/html/staging
Now I want to download all the files from that staging folder.现在我想从该暂存文件夹下载所有文件。
If you mean cloud shell, then I typically use the gcp storage tool suite. 如果您指的是云外壳,那么我通常使用gcp存储工具套件。
In summary, I transfer from cloud shell to gcp storage, then from storage to my workstation. 总而言之,我从云外壳转移到gcp存储,然后从存储转移到我的工作站。
gsutil mb gs://MySweetBucket
gsutil mb gs://MySweetBucket
一个存储桶以将其传输到其中 gsutil cp /path/to/file gs://MySweetBucket/
gsutil cp gs://MySweetBucket/filename
Done! 做完了!
Sorry, if I'm missing the point.对不起,如果我错过了重点。 Anyway, I came here seeking a way to download files from Google Cloud Console.
无论如何,我来到这里是为了寻找一种从 Google Cloud Console 下载文件的方法。 I didn't have the ability to create an additional bucket as the author above suggested.
我没有能力像上面的作者建议的那样创建一个额外的存储桶。 But I accidently noticed that there is a button for exactly what I needed.
但我无意中注意到有一个按钮可以满足我的需求。
Seek keebab-style menu button.寻求keebab风格的菜单按钮。 In the appearing dropdown you should find Download button.
在出现的下拉列表中,您应该找到下载按钮。
I can't post a picture due to low reputation, hence posting only a link.由于声誉低,我无法发布图片,因此仅发布链接。
Picture_HowToFindDownlodadButton Picture_HowToFindDownlodadButton
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.