man(1)

πŸ“¦ version 0.2, in nixos 26.05, nixpkgs unstable

πŸ’… 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 β€” treat source as a file containing a list of files and folders in the format generated by lsbom and ls4mkbom. so source is 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 -u option to force the user identifier to a specific value. typically, this value should be 0 (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 -u option but forces the group identifier to a specific value. typically this value should be 80 (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