Forrest logo
tool overview
On this page you find all important commands for the CLI tool gyb. If the command you are looking for is missing please ask our AI.

gyb

GYB (Get Your Backpack) is a command line tool used to backup Gmail accounts. It was created by Google and is available as an open-source tool. GYB allows users to easily backup and restore their Gmail emails, labels, and settings. It supports various customization options, making it flexible and versatile.

With GYB, users can create backup archives of their entire Gmail account or specific labels. These archives can be saved locally or uploaded to cloud storage services such as Google Drive. The tool also prevents duplicate backups by intelligently syncing only the new or changed information.

GYB supports incremental backups, meaning that it can update existing backups, saving time and storage space. It has built-in APIs to access Gmail data, ensuring secure and efficient backups. GYB also provides options to encrypt the backup files, adding an extra layer of security to the stored data.

The tool is cross-platform and can be used on various operating systems, including Windows, macOS, and Linux. It is easy to install and use, with a simple command line interface. GYB has a comprehensive documentation and an active community for support and troubleshooting.

Overall, GYB is a reliable and effective command line tool for Gmail backup, offering users the convenience and peace of mind of having their important emails consistently backed up and accessible.

List of commands for gyb:

  • gyb:tldr:39b7f gyb: Estimate the number and the size of all emails on your Gmail account.
    $ gyb --email ${email@gmail-com} --action estimate
    try on your machine
    explain this command
  • gyb:tldr:632cd gyb: Backup a Gmail account to a specific directory.
    $ gyb --email ${email@gmail-com} --action backup --local-folder ${path-to-directory}
    try on your machine
    explain this command
  • gyb:tldr:6e814 gyb: Restore from a local folder to a Gmail account.
    $ gyb --email ${email@gmail-com} --action restore --local-folder ${path-to-directory}
    try on your machine
    explain this command
  • gyb:tldr:cd615 gyb: Backup 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}"
    try on your machine
    explain this command
tool overview