On Tue, 2003-10-14 at 10:31, Don Bashford wrote:
> For the last 10 years, I've used MH, but now that I'm in an IMAP
> environment, I can't do that anymore, so I'm trying evolution.  I have
> about 300 MH format folders which I'd like to convert to local folders
> in Evolution.  Although evolution can import MH folders, the documented
> mechanism requires menuing and mousing, etc for each individual folder.
> For 300 folders, this is an awful, error-prone chore.
> 
> Is there any scripting capacity in evolution that would allow me to
> script this task?  I find no mention of such in the user docs.
> 
> Alternatively, could someone clue me in on what files/dirs I need to
> create via a unix shell script (or perl, etc.)  To accomplish the same
> thing?  My efforts so far along this line:
> 
> * If you use evo to create a local mail folder, FOLDER, and tell it to
> store it's contents in MH format, a dir ~/evolution/local/FOLDER/mbox
> containing files 1, 2, 3, ... will be created

true... however, if it is a subfolder of a folder, then you'll have the
structure:

~/evolution/local/FOLDER/subfolders/SUBFOLDER/mbox

> 
> * However if you just create such a dir from the unix shell prompt evo
> won't "see" it as a folder, and you won't be able to access it.

right... you also need to create a folder-metadata.xml file (just copy
the one from ~/evolution/local/Inbox) and a local-metadata.xml file with
the xml to describe that the folder is in MH format. Probably just
create a mh folder in Evolution and copy that xml file around to each
new folder you create in the shell.

Jeff

-- 
Jeffrey Stedfast
Evolution Hacker - Ximian, Inc.
[EMAIL PROTECTED]  - www.ximian.com

_______________________________________________
evolution maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/evolution

Reply via email to