LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General > LinuxQuestions.org Member Success Stories
User Name
Password
LinuxQuestions.org Member Success Stories Just spent four hours configuring your favorite program? Just figured out a Linux problem that has been stumping you for months?
Post your Linux Success Stories here.

Notices

Reply
 
Search this Thread
Old 03-10-2013, 12:33 PM   #1
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,605

Rep: Reputation: 2570Reputation: 2570Reputation: 2570Reputation: 2570Reputation: 2570Reputation: 2570Reputation: 2570Reputation: 2570Reputation: 2570Reputation: 2570Reputation: 2570
IMAP Mailbox Migration utility for Gmail/iCloud and Calendar Migration tips


I recently ditched my iPhone in favor of a new Android phone. Not only is it faster, it does more. But...I was using iCloud for my email (thanks to the VERY tight integration with the iPhone). Naturally, it was IMAP, and I created lots of folders, sub-folders, and had a ton of stuff archived. Also naturally, Apple decided to not leave you any way to migrate FROM their system easily.

So, I wrote the attached program in Perl. It has one function: connect to two different IMAP systems (source and destination), and move EVERYTHING from the source to the destination. It creates the exact same folder structure, and copies all the messages over, automatically. I migrated from iCloud to Gmail in about 10 minutes. Should just have to modify the user ID/password/server names (obviously), and off it goes.

Also, when it comes to migrating your iCloud calendars to Google Calendar, there is an easy option. Make your iCloud calendar shareable, then copy the link it gives you. Run "wget http://<that link name>", to download the calendar to your local system. It's a huge hex string, but it's an .ICS file, so rename it to something useable. Then, go into Google Calendar, and import it. Done.

NOTE: The link will start with "caldav://", so change it to "http://" when you download it, otherwise it will fail.
Attached Files
File Type: txt IMAP-Message-Migrator.txt (3.0 KB, 2 views)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix Mailbox user migration pythonn Linux - Server 5 01-31-2011 06:18 PM
LXer: Five tips for a smooth Linux migration LXer Syndicated Linux News 1 09-08-2010 02:00 AM
Mysql 4-5 migration as well as character set migration from latin1 to utf8? helptonewbie Linux - Server 3 05-15-2008 05:15 AM
Migration from Cyrus Imap format to Maildir minime Linux - Server 1 05-29-2007 10:41 PM
Mailbox Migration from MCIS to Cyrus mcTwix Linux - General 0 05-06-2004 05:11 PM


All times are GMT -5. The time now is 11:57 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration