I'm trying to run a github script in VS code to convert maildir emails to mbox. I have the script and the folder with the maildir in a folder on C: drive. When I run the script it comes back with
PS C:\hello> & C:/Users/stu/AppData/Local/Microsoft/WindowsApps/python3.11.exe c:/hello/maildir2mbox.py
usage: maildir2mbox.py [-h] [-r] maildir_path mbox_filename
maildir2mbox.py: error: the following arguments are required: maildir_path, mbox_filename
I think I have to define the target mailder and mbox folders but I'm at a loss to how to do it.
I've tried putting paths at a few places but in reality I'm clueless.
As you thought, you would need to provide the target Maildir and output file path. The Maildir folder should contains
curand/ornewfolders. For example:Works with file structure:
See
python maildir2mbox.py --help