From b303bc002863c8afa76a2f5ac81400d0ae8a2f89 Mon Sep 17 00:00:00 2001 From: iamatacos Date: Thu, 14 Dec 2017 15:38:08 +0000 Subject: [PATCH] added support for Got-Your-Back for backup from Gmail --- cheat/cheatsheets/gyb | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 cheat/cheatsheets/gyb diff --git a/cheat/cheatsheets/gyb b/cheat/cheatsheets/gyb new file mode 100644 index 0000000..3e4f79c --- /dev/null +++ b/cheat/cheatsheets/gyb @@ -0,0 +1,13 @@ +# Estimate the number and the size of all mails on youremail@gmail.com +gyb --email youremail@gmail.com --action estimate + +# backup from youremail@gmail.com to your local-folder +gyb --email youremail@gmail.com --action backup --local-folder "~/MyLocalFolder/" + +# backup from youremail@gmail.com only important or starred emails to the default local folder GYB-GMail-Backup-youremail@gmail.com +gyb --email youremail@gmail.com --search "is:important OR is:starred" + +# restore from your local-folder to youremail@gmail.com +gyb --email youremail@gmail.com --action restore --local-folder "~/MyLocalFolder/" + +