Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/matthuisman/gdrivedl

Google Drive Download Python Script
https://github.com/matthuisman/gdrivedl

google-drive python

Last synced: about 2 months ago
JSON representation

Google Drive Download Python Script

Awesome Lists containing this project

README

        

# GDriveDL

Google Drive Download Script

- Python 2 / 3 compatible
- No API keys / credentials required
- Supports all operating systems
- No external dependencies
- Works with shared files or folders
- Works with large files
- Files / folders must have been shared via link

## Usage

```bash
python gdrivedl.py
```
- URL is a shared Google Drive URL

Multiple urls can be used by seperating them with a space. eg. ```python gdrivedl.py ```

On some systems you may need to enclose the url within quotes. eg ```python gdrivedl.py ""```

The script will exit with code 1 if there were any errors otherwise 0

### Options
- `-P` `--directory-prefix` Output directory (default is current directory)
- `-O` `--output-document` Download to a particular filename (defaults to the
GDrive filename). Only valid when downloading a single file.
- `-e` `--continue_on_errors` If any errors processing files/folder then log and continue to next
- `-q` `--quiet` Disable console output
- `-d` `--debug` Show debug console output
- `-v` `--vebose` Debug console output as well as HTML headers and content
- `-m` `--mtimes` Try use modified times to check for changed files
- `-f` `--urlfile` Text file containing Google Drive URLS to download (one per line)