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 πŸ’…

  • -res filename β€” 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 πŸ‘‘).
  • -type 4-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.
  • -creator 4-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, -type and -creator flags 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 πŸ‘‘πŸ¦‹