googGitHub

Create files straight into a folder

Creating Docs, Sheets and Slides, copying templates and converting Office files now take --folder, so new files land where they belong.

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

Create in a folder

New documents, spreadsheets and presentations go into the folder you name, in one command.

$goog docs create "Q4 plan" --folder FOLDER_ID
$goog sheets create "Q4 budget" --folder FOLDER_ID
$goog slides create "Q4 review" --folder FOLDER_ID

Copy and convert into a folder

Template copies and converted Office files skip My Drive too.

$goog docs copy SOURCE_DOCUMENT_ID "Q4 plan from template" --folder FOLDER_ID
$goog drive convert OFFICE_FILE_ID --to google-sheet --folder FOLDER_ID
Downloads and checksums on GitHub