Skip to content

tonyknight/mbox-to-md

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

mbox-to-md

Intelligently converts mbox to Markdown

This Python 3 script takes an mbox file as input and attempts to deconstruct it as Markdown friendly text files. Some features are

  • Names the Markdown files based on the date the message was sent, the sender and the subject
  • Organizes the Markdown files based on the Sender name
  • Includes attachments. Checks to see if the attachment is already there and incriments if needed
  • Adds a Markdown style link to the bottom of the message to the attachment, if it exists.
  • Writes an errors.txt log with processing errors

To Do list--

  • Comment the code better
  • Don't create an Attachments folder if there is no attachment
  • Use a checksum to test to see if an attachment with the same filename and checksome match exists in the sender's Attachments folder. If so, just create alink to the old one and get on with life...
  • Create code blocks to surround html content so it looks better in Obsidian...

About

Intelligently converts mbox to Markdown

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages