CLI Tool - goodls


This is a CLI tool to download shared files from Google Drive.


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.

  • Use suitable process for size and type of file.
  • Retrieve filename and mimetype from response header.
  • Can download all shared files except for project files.

The detail information and how to get this are