从与我共享的文件夹中从Google驱动器下载zip文件夹/文件 [英] Downloading zip folder/file from google drive from shared with me folder

查看:311
本文介绍了从与我共享的文件夹中从Google驱动器下载zip文件夹/文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经可以访问存储在我的Google驱动器中以及与我共享"中的zip文件/文件夹.

I have been provided with access to a zip file/folder which is stored in my google drive and inside "Shared with me".

如何使用"wget"或python或任何相关内容通过终端将其下载到笔记本电脑中.

How can I download it to my laptop through terminal using "wget" or python or anything related.

其中包含该文件夹的整个文件夹的网址如下: https://drive.google.com/drive/folders/13cx4SBFLTX8CqIqjjec9-pcadGaJ0kNj 并且该zip文件的可共享链接为 https://drive.google.com/open ?id = 1 PMJEk3hT-_ziNhSPkU9BllLYASLzN7TL .

The url for the whole folder within which it is contained goes like, https://drive.google.com/drive/folders/13cx4SBFLTX8CqIqjjec9-pcadGaJ0kNj and the shareable link to the zip file is https://drive.google.com/open?id=1PMJEk3hT-_ziNhSPkU9BllLYASLzN7TL.

由于文件总大小为12GB,因此在使用Jupyter笔记本电脑时,通过单击下载文件非常麻烦.

Since the files are 12GB in size in total, downloading them by clicking is quite tiresome when working with Jupyter notebook.

推荐答案

您可以在此处查看我的答案(2018年3月更新): https://stackoverflow.com/a/49444877/4043524

You can check my answer here (Updated March 2018): https://stackoverflow.com/a/49444877/4043524

您的案件有一个小问题.根据您的情况,URL的格式与上面给出的链接中提到的格式不同.

There is one little issue with your case. In your situation, the format of the URL is different from the one mentioned in the link given above.

但是,不用担心,您只需要复制ID(URL中"id"键前面的随机字符串)并用它替换脚本中的FILEIDENTIFIER.

But, don't worry, you just have to copy the ID (a random-looking string in front of "id" key in the URL) and replace the FILEIDENTIFIER in the script with it.

这篇关于从与我共享的文件夹中从Google驱动器下载zip文件夹/文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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