thunderbird / import-export-tools-ng

Import Export Tools that supports Thunderbird v68-v128
Other
284 stars 31 forks source link

importing mbox from Mail (Yosemite) duplicates all emails #223

Open tristanwilliamsummers opened 3 years ago

tristanwilliamsummers commented 3 years ago

Maybe I missed something obvious. I am trying to import mbox for every year since 2004 so I really do not want two of everything. What do I have to do to import just one of every email in an mbox? Can only select the actual mbox, not the folder (I figured out how to get the date to work correctly here in England)

tristanwilliamsummers commented 3 years ago

trying to figure out how to run the Apple Mail mbox script.

  1. Do I do this on the mac with Terminal? - HOW?! installed latest python, but can't figur eout how to run it
  2. or can I do this on Windows? again no idea
  3. shall I just buy the systools importer
cleidigh commented 3 years ago

@tristanwilliamsummers since you are working with script I assume you read the wiki https://github.com/thundernest/import-export-tools-ng/wiki @obar made this nice contribution. I will be honest I have little experience with Apple Mail other than some basic testing I think wiki instructions are pretty clear. everything with Python and script are done on the command line as described make sure you follow the suggestion to operate on a copy of your mail then try a dry run let me know how it works, also I presume you can also ask @obar questions Christopher

obar commented 3 years ago

The two lines you need after installing an up-to-date Python are sequential commands, indicated in the wiki where Christopher linked: the first line will make the script executable (chmod), and the second will run the script on a given directory (do this on a copy of your Mail export). You can do similar in Windows with their path formatting, and there's lots on the web about running Python on different systems!