googGitHub

Comments, Office conversion and recoverable trash

Work with comments on any Drive file, convert Office files to Google formats, download Google files as Office files, and trash files so they can be recovered.

v0.2.7
zsh
~/work $
My Drive - Drive
drive.google.com/drive/my-drive
A
My Drive
NameModified
ContractsNov 18
Q4 PlanningNov 27
Board updateNov 26

Comments on any file

List, create, edit, reply to, resolve and delete comments. The same commands work under sheets and slides.

$goog drive comments FILE_ID --open
$goog drive comment-reply FILE_ID --comment-id COMMENT_ID --text "Updated as requested."
$goog sheets comment-resolve SPREADSHEET_ID --comment-id COMMENT_ID --text "Addressed."

Office conversion

Turn an uploaded DOCX into a Document or an XLSX into a Spreadsheet.

$goog drive convert OFFICE_FILE_ID --to google-doc

Office downloads

drive download exports Docs, Sheets and Slides to editable Office formats.

$goog drive download FILE_ID --output ./report.docx

Recoverable trash

drive trash moves files to the Drive trash, where they can be restored.

$goog drive trash FILE_ID

Update notices

Every command now prints a notice on stderr when a newer release is out.

Downloads and checksums on GitHub