commands.sh

gdrive

all

Interact with Google Drive. Folder/file ID can be obtained from the Google Drive folder or ID URL.

More info →

Options (1)

-p, --parentboolean

Upload a local path to the parent folder with the specified ID

Example: gdrive upload {{[-p|--parent]}} {{id}} {{path/to/file_or_folder}}

Examples (4)

Upload a local path to the parent folder with the specified ID

gdrive upload [-p|--parent] id path/to/file_or_folder

Download file or directory by ID to current directory

gdrive download id

Download to a given local path by its ID

gdrive download --path path/to/folder id

Create a new revision of an ID using a given file or folder

gdrive update id path/to/file_or_folder
made by @shridhargupta | data from tldr-pages