Skip to content
This repository was archived by the owner on Apr 30, 2025. It is now read-only.
/ gdrive Public archive
forked from xuwaters/gdrive

A command line tool that download files recursively from Google Drive.

License

Notifications You must be signed in to change notification settings

zuvaai/gdrive

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GDrive

Forked from xuwaters/gdrive

GDrive is a command line tool that can download files recursively from Google Drive.


Usage:
  gdrive download [flags]

Flags:
      --cred_file string    credentials.json file for Google Drive API from gcloud console
                            https://console.developers.google.com/apis/library/drive.googleapis.com
      --dst string          Destination directory
  -h, --help                help for download
      --list_file string    list of files to be downloaded, will be created automatically
      --src string          Source fileId in google drive
      --token_file string   token file that stores access and refresh tokens, and is created automatically

Build

$ go build -o ./bin/gdrive ./cmd/gdrive

For example

$ rm -f ./bin/list.json
$ gdrive download --list_file './bin/list.json' --src 'google-drive-folder-or-file-id' --dst 'local-folder-path'

About

A command line tool that download files recursively from Google Drive.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 97.9%
  • Ruby 2.1%