A script to import messages into Mail from KMail, etc.
Oct 05, '05 06:18:00AM
Contributed by: romaninsh
After I couldn't find solution for mail import from KMail, I wrote a simple shell script that converts the maildir hierarchy into importable mbox files.
- Copy this script and save it as convert.sh into the directory containing all your maildirs (Mail).
- Run the script (make sure it's executable with chmod +x convert.sh, of course). It will create *.mbox files having the full path converted into their names.
- In Mail.app, choose Import -> Other and specify the directory (Mail).
Hope this helps!
Comments (10)
Mac OS X Hints
http://hints.macworld.com/article.php?story=20051002175356349