MEXPORT(1)

πŸ’Œ MEXPORT β€” bestie, let's turn your messages into an mbox file

okay so this is the manual page for mexport, a General Commands Manual situation, and honestly? she's giving archivist energy. Let's get into it 🫢


✨ NAME ✨

mexport β€” export messages as mbox file πŸ’…


🌸 SYNOPSIS 🌸

mexport [-S] msgs ...

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so mexport takes the msgs you hand her and writes them to standard output as an MBOXRD file. that's it, that's the whole vibe. (btw if you're confused about what counts as a msgs argument, go read mmsg(7) β€” she explains the message argument syntax, iykyk.)

if you specify no msgs at all? no worries bestie, she's flexible:

  • she reads filenames from standard input, or
  • if you're using her interactively, she just uses the messages in the current sequence. periodt.

also, for the mbox From line, mexport pulls the 'Return-Path:' header (or 'X-Envelope-To:' if that's what's around) plus the 'Date:' header from each message. not me being thorough about metadata 😌✨

the options are as follows:

  • -S β€” adds 'Status:' and 'X-Status:' headers according to the msgs maildir flags. so extra status info, slay πŸŽ€

πŸ”₯ EXIT STATUS πŸ”₯

  • mexport exits 0 on success πŸ₯³
  • and >0 if an error occurs 😭

πŸ‘‘ SEE ALSO πŸ‘‘

MBOXRD Email Format: http://www.digitalpreservation.gov/formats/fdd/fdd000385.shtml

Using maildir format: https://cr.yp.to/proto/maildir.html


πŸ’œ AUTHORS πŸ’œ

Leah Neukirchen <leah@vuxu.org> β€” icon, legend, the moment 🌈


πŸŽ€ LICENSE πŸŽ€

mexport is in the public domain.

To the extent possible under law, the creator of this work has waived all copyright and related or neighboring rights to this work.

http://creativecommons.org/publicdomain/zero/1.0/ ⭐


fr fr, public domain? she's generous AND talented. we love to see it πŸ’–

okay bestie that's the whole page!! this one came from Debian, dated August 19, 2016 β€” go forth and export those messages, you main character πŸ¦‹πŸ’…βœ¨