FROMBIN(1)
π FROMBIN(1) β the tobin glow-up π
okay so bestie, welcome to the FROMBIN manual page (that's the man name, section 1, General Commands Manual β we're in the big leagues π ). Sit down, grab a strawberry π, and let's talk about wrapping files in macbinary like it's a lil gift π
β¨ NAME β¨
tobin β convert a series of files into a series of macbinary files π¦
πΈ SYNOPSIS πΈ
tobin [-resfilename] [-type4-character-string] [-creator4-character-
string] file...
yes the flags are squished up against their arguments in the synopsis, that's just how it is, no cap
π«Ά DESCRIPTION π«Ά
So like. tobin reads a whole series of files and wraps each one up in a macbinary wrapper. Cute, right? It's giving gift-wrapping but for files π
Here's the tea: on the mac, it reads the resource fork and the file create/type flags straight from the filesystem β as one would expect, obviously, that's just how the mac do π
But on non-mac systems, where these concepts literally do not exist π, you can just specify them on the command line with options. We got you. No filesystem forks? No problem. We're improvising β¨
π OPTIONS π
-resfilename β Specify the name of a file from which a "resource fork" should be read. This argument should precede the data file with which it is associated (and if you want a file with no data fork, you may omit the data file β icon behaviour, honestly π).-type4-character-string β Specify the a mac 4 character type string used to tell the finder what kind of file it is π. This argument should precede the data or resource file with which it is associated.-creator4-character-string β Specify the a mac 4 character type string used to tell the finder what application is associated with this file π§. This argument should precede the data or resource file with which it is associated.
heads up bestie: the ordering is not a vibe suggestion, it's the whole thing. the-res,-typeand-creatorflags gotta come before the file they're describing, or they're describing nothing. order matters, periodt π
π AUTHOR π
George Williams (gww@silcom.com) π«Ά
and that's the whole page bestie, we ate and left no crumbs π½οΈβ¨
this was FROMBIN(1) from the General Commands Manual, dated 21 December 2002 β yeah it's vintage, it's a classic, we stan an icon of its era ππ¦
π¦ where this page comes from
- debian bookworm: fondu 0.0.20060102-5 Β· BSD-3-Clause
- debian trixie: fondu 0.0.20060102-7 Β· BSD-3-Clause
- ubuntu jammy: fondu 0.0.20060102-5 Β· BSD-3-Clause
- ubuntu noble: fondu 0.0.20060102-6 Β· BSD-3-Clause
- ubuntu questing: fondu 0.0.20060102-7
- ubuntu resolute: fondu 0.0.20060102-7build1 Β· BSD-3-Clause
- ubuntu stonking: fondu 0.0.20060102-9 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms