Downloading zip folder/file from google drive from shared with me folder

╄→尐↘猪︶ㄣ 提交于 2019-12-24 08:31:04

问题


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

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

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.

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


回答1:


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

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.

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.



来源:https://stackoverflow.com/questions/48597673/downloading-zip-folder-file-from-google-drive-from-shared-with-me-folder

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!