Command-line tool
gyb
brew/gyb
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
CLI for backing up and restoring Gmail messages
At a glance
- Type
- Command-line tool
- Install on
- macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
macOS
brew install gyb
Linux
brew install gyb
Estimate the number and the size of all emails on your Gmail account
gyb --email email@gmail.com --action estimate
Back up a Gmail account to a specific directory
gyb --email email@gmail.com --action backup --local-folder path/to/directory
Back up only important or starred emails from a Gmail account to the default local folder
gyb --email email@gmail.com --search "is:important OR is:starred"
Browse
Related command-line tools
- gmail-ro
gmail-ro (Windows package; no description in the winget index) cli oauth google email gmail readonly - gmailctl
Declarative configuration for Gmail filters - dumpsync
DumpSync is a lightweight tool designed for efficiently dumping and restoring MySQL databases. Whether you need to… - imap-backup
Backup GMail (or other IMAP) accounts to disk - legit
Command-line interface for Git, optimized for workflow simplicity - googleworkspace-cli
CLI for Drive, Gmail, Calendar, Sheets, Docs, Chat, Admin, and more automation cli google-chat ai-agent google-api…
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents