write-mime-multipart(1)
β¨ write-mime-multipart β¨
okay bestie, welcome to the cloud-utils glow-up π this little cutie is called write-mime-multipart, and she is literally the utility for creating mime-multipart files β most likely so you can yeet them into user data and cloud-init πΈ yeah. that's her whole thing. icon behavior.
π¦ SYNOPSIS π¦
write-mime-multipart [options]
like. that's it. that's the whole summoning ritual π
π DESCRIPTION π
so here's the tea β this program was made to help you write data that cloud-init can actually consume. and cloud-init? she reads mime multipart as user-data. that's the entire pipeline, no cap. you write it, she eats it π
and now the flags, because we love a good flag π
-h|--helpβ shows you the usage message. your classic "help me pls" button π«Ά-o|--outputFILEβ writes the output intoFILE(and yes, if you don't say anything, the default is stdout, so it just spills onto your screen π)-z|--gzipβ compresses the output withgzip. squeeze it. zip it. slay π₯-d|--defaultDEFTYPEβ if you don't hand over a mime-type yourself, she just assumes a mime-type ofDEFTYPE. and the default default is'text/plain', periodt π--delimDELIMβ usesDELIMas the delimiter, and ngl the default is just':'β¨
okay real talk:-d/--defaultis the fallback so your files don't show up to the function with no mime-type and no explanation π the default is'text/plain', remember it.
π EXAMPLES π
here's the moment you've been waiting for, the main character example π
write-mime-multipart --gzip --output=combined-userdata.txt boothook.txt:text/cloud-boothook include-file.txt:text/x-include-url
see how she clocks the file:type pairing with that : delimiter? chef's kiss π that's the whole vibe. combo of gzip, an output file, and two files each tagged with their own mime-type π
πΈ AUTHOR πΈ
This manpage and the utility was written by Scott Moser <scott.moser@canonical.com>. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 3 published by the Free Software Foundation. π
On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL. go read it, bestie, it's free and it's iconic πβ¨
and that's the whole page fr fr π«Ά this was write-mime-multipart(1) from cloud-utils, dated 11 Jan 2011 β a real one, an oldie but a goodie ππ bye babe, go make some multipart magic β¨
π¦ where this page comes from
- arch rolling: cloud-image-utils 0.34-1 Β· GPL-3.0-only
- ubuntu stonking: cloud-image-utils 0.34-1 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms