Skip to content

Instantly share code, notes, and snippets.

View cnrd's full-sized avatar

Conrad Juhl Andersen cnrd

  • Festina Finance
  • Denmark
  • 15:33 (UTC +02:00)
View GitHub Profile
@cnrd
cnrd / sync_mail.sh
Last active January 16, 2017 21:02 — forked from dalethedeveloper/sync_mail.sh
Transferring to/from Gmail accounts to a Google Apps account with imapsync. Also good for GApps to GApps transfers, archives, or migrations.
#/!/bin/bash
# Most of the tweaks here are wrapped up in gmailmig
# https://code.google.com/p/gmailmig/
#
# Props to brave folks who figured this out before me
# http://imapsync.lamiral.info/FAQ
# http://www.thamtech.com/blog/2008/03/29/gmail-to-google-apps-email-migration
# http://seagrief.co.uk/2010/12/moving-to-google-apps-with-imapsync/
# http://blog.mcfang.com/tag/imapsync/
#