Wednesday, 4 February 2009

migrating thunderbird from xp to mac

要將工作由 IBM T42 過渡到新的 MacBook 上,其中一項要處理的事情,就是將 Thunderbird 裡的電郵轉到新電腦裡,而且不是轉到 VMWare 裡的 Windows XP,而是實實在在的在 Mac OSX 裡跑。以下是我所找到、最適合的 reference:
Thunderbird PC to Mac migration solution
  1. Install Thunderbird on your Mac.
  2. Open Thunderbird, and create your main mail account. Don't download any mail yet; just create the account.
  3. Copy your Thunderbird profile directory from your PC to your Mac. (In Windows 2000 and XP, the default profile locations are under "Application Data", which is a hidden folder. In Explorer (i.e. double-click My Computer) click: Tools → Folder Options → View (tab) → Show Hidden files and folders.)
  4. In this folder (on your Mac) and all its subfolders, you must move any file with a ".msf" extension to the Trash. I created a little Automator workflow to do this (called "Move .msf to Trash", contained in this zip file), which you can download (Ctrl-click, Save As...). To use it, open the folder in Finder, select all the files (Command-A) and then run the Automator script. You must do this for every folder in which .msf files appear.
  5. Now copy "Local Folders" to your Thunderbird Mail folder on your Mac.
  6. Open Thunderbird -- you should be done!

在 Windows 上,我習慣將各電郵程式的 storage 放在 \My Documents\Mail\ 裡,今次我打算在 Mac 上用回 default 的路徑,所以要手動修改 pref.js,找出相似以下的句子:
user_pref("", "[ProfD]..\..\..\My Documents\Mail\Thunderbird\Local Folders");
user_pref("", "[ProfD]Mail/Local Folders");
當然 copy 文件時路徑是用回原本 default 的那一個了。

No comments: