GoDrive

GoDrive is a Go CLI tool written to wrap the Google Drive API.

Features

  • List all files in the drive
  • List all files and folders in a pretty way (tree)
  • Search for files by partial name
  • Upload a file
  • Upload to a certain folder
  • Download a file

Usage

Build:

go build .

List all files in your Drive:

godrive ls

Search for a file in your Drive (searchs for files with names that contain the query):

godrive search <query>

Upload a file:

godrive up <filepath>

Download a file:

godrive down <file id>

GitHub

View Github