I’ve got the courage to archive my IMAP mailbox into DTPO. For 46k messages in about 50 folders the process took about a day.
Now I would like to update the archive, however the process seems to take forever, again.
How exactly does this work? I would imagine that already archived messages are being skipped upon update, and the process should be comparatively faster. Or should I use “Import” for the update?
Do you use macOS Mojave? In that case you might have to enable full disk access (see System Preferences > Security) so that the plugin for Apple Mail can be used. This speeds up importing/archiving a lot.
Yes it’s Mojave. What exactly should I enable Full Disk Access to? DEVONThink Pro Office or the plugin itself? If it’s the latter, where can I find it? Thanks.
I enabled Full Disk Access to DTPO. Indeed it’s much faster, now the display says for 46k messages 2.5 hours. Thank you for that.
It seems to me that Archive does the whole archive always from scratch. Am I correct? Is there anyway to do it incrementally, i.e. ignoring already archived messages?
Yes, but when it is busy, it does not use more than 10% or so but it is reported as “not responding” because I asume you aren’t “respiring” the OS. As Windows developer myself, I’ve seen a lot of large for loops inside events instead of creating dedicated threads (or separate interface from implementation via some kind of Doc/Vista model) that completely locks the user interface and reports as “not responding” (sorry, Windows terminology, I don’t know macOS development ones).
Normally, without having to rebuild important parts of the application, that is resolved adding a call to Win32 Sleep() call. If you pass 0 you are telling to the OS that “do your things and give me control ASAP”. If you pass 1 that means you can give time to other threads in same application. More than 1 is a real “sleep” time.
(Sorry, Windows terminology a new time. I don’t know macOS equivalents).