gddl

command module
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 5, 2022 License: MIT Imports: 9 Imported by: 0

README

gddl: Google Drive data DL tool for Izumi Lab.

Requirements

No requirement if you use binary on release page.

Setup

pixz installation

If you use folder upload mode, pixz install is highly recommended.

For Mac:

brew install pixz

For linux

sudo apt install pixz

or build using https://github.com/vasi/pixz

go install

If you use go binary via go install command, golang installation is required. Then, you can get gddl via:

go install github.com/masanorihirano/gddl@lates

usage

Interactive mode:

gddl

Show help:

gddl help

Show version:

gddl version

Show all repositories:

gddl show

Show folders in a repository:

gddl show [repository]

Show download candidates in a folder:

gddl show [repository] [folder]

Download:

gddl download [repository] [folder] [file] [path(optional)]

Upload:

gddl upload [repository] [folder] [file/folder]

Note

If you use this program for the first time, it requires authorization of Google API. Please follow the leads, and log in with account under the control of socsim.org with access right to the team drive.

The maximum number of files in one directory (appears and be able to be downloaded in this system) is limited to 1,000. Please don't place more than 1,000 files in one directory on Google team drive.

Author

Masanori HIRANO (https://mhirano.jp/; b2018mhirano@socsim.org)

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL