Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gyb: add page #9021

Merged
merged 11 commits into from
Oct 18, 2022
20 changes: 20 additions & 0 deletions pages/common/gyb.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# gyb

> Command line tool for locally backing up Gmail messages using Gmail's API over HTTPS.
> More information: <https://github.com/GAM-team/got-your-back>.

- Estimate the number and the size of all emails on your Gmail account:

`gyb --email {{[email protected]}} --action estimate`

- Backup a Gmail account to a specific directory:

`gyb --email {{[email protected]}} --action backup --local-folder {{path/to/directory}}`

- Backup only important or starred emails from a Gmail account to the default local folder:

`gyb --email {{[email protected]}} --search "{{is:important OR is:starred}}"`

- Restore from a local folder to a Gmail account:

`gyb --email {{[email protected]}} --action restore --local-folder {{path/to/directory}}`