man(1)
π man(1) β the mkbom man page, bestie edition
okay so this is the manual page for mkbom, filed under section 1 of the man manual, and I'm gonna walk you through it like we're texting at 2am. stay with me π«Ά
β¨ NAME β¨
mkbom β literally makes a bill-of-materials file. that's the whole vibe. π
πΈ SYNOPSIS πΈ
mkbom [-i] [-u uid] [-g gid] source target-bom-file
like, that's the shape of it. source in, target-bom-file out. iconic. β¨
π¦ DESCRIPTION π¦
okay so picture this: mkbom creates a bill-of-materials file β the one specified by target-bom-file β from the contents of the directory specified by source. π and what's that even for? it's for making Mac OS X installer packages, no cap. π₯
OR β and this is the fun part β if you pass the -i option, mkbom can build that bill-of-materials file from a text file specified by source, which lists the contents of a directory in the format generated by lsbom and ls4mkbom. so it's giving "read the guest list instead of counting heads." π
and there's a tutorial if you want the full lore: http://hogliux.github.io/bomutils/tutorial.html β go read it, it's giving study date energy π
-iβ treatsourceas a file containing a list of files and folders in the format generated bylsbomandls4mkbom. sosourceis a list, not a directory, got it? ποΈ-uβ every file or folder entry listed for a BOM contains the owner's user and group identifier (e.g.500/501). and here's the tea: typically, these Linux values are meaningless on the Mac platform π so use the-uoption to force the user identifier to a specific value. typically, this value should be0(i.e. root). π
β οΈ heads up bestie: this option cannot be used with the -i option, because in that case the user identifier is read from the source file list. them's the rules π
-gβ similar to the-uoption but forces the group identifier to a specific value. typically this value should be80(i.e. admin). π«Ά
β οΈ same deal: this option cannot be used with the -i option, because in that case the group identifier is read from the source file list. no mixing, periodt. π«
π SEE ALSO π
go touch grass in these other pages, iykyk:
π BUGS π
long paths and some characters in filenames will cause mkbom to fail on Windows. not me finding out the hard way π that's it, that's the bug. π
π AUTHOR π
Fabian Renn (fabian.renn@gmail.com) β http://hogliux.github.io/bomutils β¨ absolute icon, we stan π
and that's the whole page!! version 1.0, dated 19 April 2014, from the man(1) manual β mwah, go build something cute πππ¦
π¦ where this page comes from
- nixos 26.05: bomutils 0.2
- nixpkgs unstable: bomutils 0.2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms