updat ignore and readme

This commit is contained in:
quenousimporte 2024-04-10 16:38:03 +02:00
parent 4646cecd92
commit 91ed3ba8a8
2 changed files with 9 additions and 1 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
md2imap/mbox md2imap/mbox
md2imap/*.imap md2imap/*.imap
md2imap/input/* md2imap/input/*
imap2md/notes/*

View File

@ -1,12 +1,19 @@
# md2imap
Tool to create a mbox file from a set of markdown files Tool to create a mbox file from a set of markdown files
Usage: ## Usage
```bash ```bash
md2imap.sh <name> <email> md2imap.sh <name> <email>
``` ```
## Import to imap server
To import the mbox file to an imap server using mutt: To import the mbox file to an imap server using mutt:
* Open mbox file: `mutt -f mbox` * Open mbox file: `mutt -f mbox`
* `T` then `.` to select all * `T` then `.` to select all
* `;` then `s` to save to =Notes folder * `;` then `s` to save to =Notes folder
* `U` then `.` to undelete mbox, if needed * `U` then `.` to undelete mbox, if needed
## todo
* fix "=<number>" taken as utf8 encoding