MPACK(1)
π MPACK(1) β the manual page, but make it bestie π
okay so you found mpack(1) and I'm literally so proud of you. this is the General Commands Manual entry for mpack, and by the end of this you're gonna be packing files into MIME format like it's nothing. no cap. π
β¨ NAME β¨
mpack β pack a file in MIME format π¦
πΈ SYNOPSIS πΈ
mpack [ -a ] [ -s subject ] [ -d descriptionfile ] [ -m maxsize ] [ -c content-type ] file address ...
mpack [ -a ] [ -s subject ] [ -d descriptionfile ] [ -m maxsize ] [ -c content-type ] -o outputfile file
mpack [ -a ] [ -s subject ] [ -d descriptionfile ] [ -m maxsize ] [ -c content-type ] -n newsgroups file
three whole modes, three whole vibes. pick your fighter. π
π DESCRIPTION π
The mpack program encodes the named file into one or more MIME messages. that's it, that's the whole job, and it eats every single time.
Then the resulting messages get:
- mailed to one or more recipients π
- written to a named file or a whole set of files π
- or posted to a set of newsgroups π°
you choose. main character energy either way. β¨
π OPTIONS π
-aβ sets theContent-Dispositionto attachment. if you don't use-a, theContent-Dispositionis inline instead. so like,-ais the "here's a file for you" vibe and no--ais the "here it is, right here in your face" vibe. π«Ά-s subjectβ sets theSubjectheader field to subject. if you skip it,mpackwill literally prompt you for the contents of the subject header, so it's not like you get to escape the conversation. π-d descriptionfileβ pulls the contents of the file descriptionfile into an introductory section at the beginning of the first generated message. a little intro paragraph, a little opening monologue, iconic. π-m maxsizeβ splits the message (if necessary, so only when it has to) into partial messages, each one not exceeding maxsize characters. the default limit is whatever theSPLITSIZEenvironment variable says, or no limit at all if that environment variable doesn't exist. and specifying a maxsize of0means there is no limit to the size of the generated message. zero = chaos = no ceiling. π₯-c content-typeβ labels the included file as being of MIME type content-type, and heads up: it must be a subtype ofapplication,audio,image, orvideo. anything else? not happening bestie. if you don't pass this switch,mpackwill examine the file itself to figure out its type. she's perceptive like that. π-o outputfileβ writes the generated message to the file outputfile. and if the message has to be split, the partial messages go to the filesoutputfile.01,outputfile.02, etc. instead. numbered, organized, gorgeous. β¨-n newsgroupsβ posts the generated message(s) to the comma-separated netnews newsgroups. π°fileβ encode the named file. yes. that file. πaddress ...β mail the generated messages to the specified addresses. as many as you want, go off. π
π§ ENVIRONMENT π§
TMPDIRβ directory to store temporary files. default is/tmp. ποΈSPLITSIZEβ the default value of the-mswitch. so if you don't wanna type-mevery single time, tell the environment instead. iykyk. π
π REPORTING BUGS π
send all bug reports to mpack-bugs@andrew.cmu.edu.
fr fr, if something's broken, tell them. don't just suffer in silence, that's not the vibe. π
and that's the whole page bestie β the MPACK(1) manual, from the <hotpink>General Commands Manual</hotpink> collection, straight from the <purple>mpack</purple> family of pages. go pack something pretty. πβ¨π
π¦ where this page comes from
- debian bookworm: mpack 1.6-18+b1 Β· MIT
- debian trixie: mpack 1.6-18+b2 Β· MIT
- ubuntu jammy: mpack 1.6-18 Β· MIT
- ubuntu noble: mpack 1.6-18 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms