splitmail++(1)

πŸ’Œ splitmail++(1) β€” General Commands Manual πŸŽ€

okay bestie, listen up, we're doing the splitmail++ page and it's actually so useful, i promise πŸ’–


✨ NAME ✨

splitmail++ β€” splitting up mailbox files before you go indexing them, periodt πŸ¦‹


🌸 SYNOPSIS 🌸

splitmail++ -pprefix [ file ]

πŸ’… DESCRIPTION πŸ’…

so like. splitmail++ is this little utility that takes a mailbox file β€” or, if you don't hand it a file, standard input, she's flexible like that β€” and it's comprised of multiple messages, right? and it splits that whole thing up into multiple files, one per individual message. why? so you can index them with index++(1), obviously. it's giving prep work, it's giving organization, it's giving main character energy πŸ‘‘

the generated files get 5-digit increasing numbers appended to a common prefix. yes, common. yes, prefix. we'll get there.

and here's the cute lil bonus: if your mailbox file has some non-mail header sitting at the top, that doesn't just get yeeted into the void β€” it gets dumped to a file with the same prefix and _junk_header as the suffix. nothing gets lost, we don't do that here 🫢


⭐ OPTIONS ⭐

  • -pprefix β€” specifies the common prefix. that's the whole option. that's it. she's simple, she's iconic, she's the only one πŸ’…

🌈 EXAMPLE 🌈

run this:

splitmail++ -p msg sent_messages

and what happens? the mailbox sent_messages gets split into files named msg.00001, msg.00002, and so on and so on, forever and ever, amen ✨

and any non-mail header? gets dumped to a file named msg_junk_header. cute, right? πŸŽ€


πŸ‘‘ NOTE πŸ‘‘

this utility hasn't been exhaustively tested. so like... be aware. ngl. fr fr. πŸ™ˆ

πŸ’œ SEE ALSO πŸ’œ

  • index++(1) β€” the whole reason we're here bestie πŸ”₯

🌸 AUTHOR 🌸

Paul J. Lucas <pauljlucas@mac.com> β€” thank you king πŸ’–


and that's the page!! SWISH++ energy, dated December 13, 2000, version splitmail++(1) β€” she's vintage, she's still slaying, we love her πŸ’…βœ¨

πŸ“¦ where this page comes from