mbox-to-markdown/Readme.md

24 lines
932 B
Markdown
Raw Normal View History

2024-07-19 10:44:15 +00:00
## Mbox to Markdown converter
2024-07-19 11:03:58 +00:00
This simple docker image can be used to convert a .mbox file (for example from a google gmail account export / take out) to convert it to markdown files.
I used it for archive purposes, wanted to store my old gmail emails.
Nothing fancy, but usefull for those who dont want to use online converters nor mess with python directly.
2024-07-19 10:44:15 +00:00
NOTE: In my case, a 9GB .mbox file of a Gmail mail account took around 4-5 hours because the preperation of the html files takes in this in-efficient way some time. But it gets there eventually ;)
2024-07-19 11:03:58 +00:00
## Usage:
2024-07-19 10:44:15 +00:00
If you just want to use the prebuild package, its available for arm64 and amd64 arch.
```
docker run --rm -v ./mbox-files:/mnt/input -v ./output/:/mnt/output git.nucleolus.xyz/fblume/mbox-to-markdown:latest
```
## Build yourself
2024-07-19 11:03:58 +00:00
```
docker build -t mbox-to-markdown .
2024-07-19 10:44:15 +00:00
2024-07-19 11:03:58 +00:00
docker run --rm -v ./mbox-files:/mnt/input -v ./output/:/mnt/output mbox-to-markdown
```