Skip to content

THANK YOU! #2

@the0ne

Description

@the0ne

Hi @rrendec,

I've used mb2md to convert about a hundred mailboxes and it worked really nice!
I only had to do some minor manual corrections but overall your script made the conversion so much easier 🙏🏻

For the subscribe files I did some manual conversion using bash and sed.
Mainly I converted the old .subscriptions file to match the new format and to change slashes to tabs:

echo -e 'V\t2\n' > /$TMPCONV/Maildir/subscriptions
cat ~/.subscriptions |sed -e 's/\//\t/g' >> /$TMPCONV/Maildir/subscriptions

Also I created a new .subscriptions file outside the Maildir folder.
echo -e 'V\t2\n\nINBOX' > /$TMPCONV/.subscriptions

So in case you're looking for additional functions, converting the subscriptions file could be one.
Also, some detection could be nice to avoid accidentally re-converting an already converted folder when using parameter -s ~/.

Thank you for this fantastic project!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions