Skip to content

Instantly share code, notes, and snippets.

@dsoares
Last active May 16, 2018 12:31
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save dsoares/a5a19431eab06da54d63 to your computer and use it in GitHub Desktop.
Save dsoares/a5a19431eab06da54d63 to your computer and use it in GitHub Desktop.
Install and use imapsync in Mac OS X

Install imapsync in Mac OS X (10.9)

brew tap dsoares/imapsync
brew install imapsync

Run (example)

imapsync --include <regexp> --exclude "All Mail|Spam|Trash" \
  --host1 imap.from.server --user1 foo --password1 secret1 --ssl1 \
  --host2 imap.dest.server --user2 bar --password2 secret2 --ssl2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment