-
v2.0.5 (March 10, 2023)
- From this version, when the API key is used, the large file is downloaded by the API key. Because the specification for downloading the shared large file is sometimes changed. When the API key is not used, the shared large file is downloaded by the current specification (v2.0.4). If the shared large file cannot be downloaded by the change of the specification on Google’s side, please use the API key and test it again. The usage of goodls has not changed.
The detail information and how to get this are https://github.com/tanaikech/goodls.
-
v2.0.3 (April 5, 2023)
- Forgot to update the version number and modified it. And, built the sources with the latest version. Ref
The detail information and how to get this are https://github.com/tanaikech/goodls.
Gists
This is a sample script for achieving the resumable download of a file from Google Drive using Dive API with Python.
There might be a case in that you want to achieve the resumable download of a file from Google Drive using Dive API with Python. For example, when a large file is downloaded, the downloading might be stopped in the middle of downloading. At that time, you might want to resume the download. In this post, I would like to introduce the sample script of python.
Gists
This is a sample script for retrieving the total file sizes in the specific folder of Google Drive using Google Apps Script.
There is a case where you want to retrieve the total file sizes in the specific folder of Google Drive using Google Apps Script. In this post, I would like to introduce a sample script for achieving this.
Sample script
Before you use this script, please enable Drive API at Advanced Google services. And please install FilesApp of a Google Apps Script library.
The detail information and how to get this are https://github.com/tanaikech/goodls.
The detail information and how to get this are https://github.com/tanaikech/goodls.
The detail information and how to get this are https://github.com/tanaikech/goodls.
The detail information and how to get this are https://github.com/tanaikech/goodls.
The detail information and how to get this are https://github.com/tanaikech/goodls.
Gists
These are 3 sample scripts for moving a file to the specific folder in Google Drive using Google Apps Script.
Sample script 1
In this script, only Drive Service is used.
var sourceFileId = "###";
var destinationFolderId = "###";
var file = DriveApp.getFileById(sourceFileId);
DriveApp.getFolderById(destinationFolderId).addFile(file);
file
.getParents()
.next()
.removeFile(file);
Sample script 2
In this script, only Drive API at Advanced Google services. (In this case, it’s Drive API v2.)
var sourceFileId = "###";
var destinationFolderId = "###";
Drive.Files.update({ parents: [{ id: destinationFolderId }] }, sourceFileId);
Sample script 3
In this script, only Drive API v3 is used.
The detail information and how to get this are https://github.com/tanaikech/goodls.
The detail information and how to get this are https://github.com/tanaikech/goodls.
The detail information and how to get this are https://github.com/tanaikech/goodls.
The detail information and how to get this are https://github.com/tanaikech/goodls.
goodls was updated to v.1.1.1
The detail information and how to get this are https://github.com/tanaikech/goodls.
goodls was updated to v.1.1.0
The detail information and how to get this are https://github.com/tanaikech/goodls.
goodls was updated to v.1.0.3
The detail information and how to get this are https://github.com/tanaikech/goodls.
goodls was updated to v.1.0.2
-
v1.0.2 (May 10, 2018)
- Files with large size has gotten to be able to be used.
- In order to download files with large size (several gigabytes), files are saved by chunks.
The detail information and how to get this are https://github.com/tanaikech/goodls.
goodls was updated to v.1.0.1
The detail information and how to get this are https://github.com/tanaikech/goodls.
Overview
This is a CLI tool to download shared files from Google Drive.
Description
We have already known that the shared files on Google Drive can be downloaded without the authorization. But when the size of file becomes large (about 40MB), it requires a little ingenuity to download the file. It requires to access 2 times to Google Drive. At 1st access, it retrieves a cookie and a code for downloading. At 2nd access, the file is downloaded using the cookie and code. I created this process as a CLI tool. This tool has the following features.