Article View: comp.sys.mac
Article #42256Re: Mass de-binhexing
From: John Chew
Date: Tue, 09 May 1989 17:55
Date: Tue, 09 May 1989 17:55
65 lines
3751 bytes
3751 bytes
In artcile <wYNPz6y00WB44PDUoC@andrew.cmu.edu> ll12+@andrew.cmu.edu
(Laura Ann Lemay) writes:
>What I need is some sort of simple utility that will take a folder of files
>and massively de-binhex them. Errors would be recorded, so I could go back
>afterwards and fix the files that went bad, but otherwise everything would
>just be automated.
>
>Anyone know of any utility like this? Anyone want to write one? :-)
>And while you're at it, a mass unstuffit would be nice, too, since stuffit
>is the de facto utility now for downloading files....
In article <8230@phoenix.Princeton.EDU> bskendig@phoenix.Princeton.EDU
(Brian Scott Kendig) writes:
>I'll expand on the general request here: Does anyone know of any mass-deBinHex
>or mass-unStuffIt utilities that exist for either the Mac or any Unix systems?
>I can use my CMS system here to de-BinHex a file before I download it, making
>it smaller and more quickly downloaded, but I hesitate to do that on each of
>dozens of files at once manually.
>
>And it would be REALLY nice if I could take a BinHexed, Stuffed file on my
>Unix system and, in one fell swoop, download it to each of its constituent
>files on my Mac, each file ready to go with no further action! (Dream on...)
I went away on vacation a few weeks ago and, paranoid that I might
miss some gem of a posting to comp.binaries.mac, I finally got
around to finishing off my c.b.m archiver. I have a (Ksh) script
to rescue the individual articles out of the news area, a lex
program that parses Subject: lines in order to rename articles by
posting title and part number, a C program that strips out news
wrappers and assembles multi-part postings, and then a modified
version of Dave Johnson's xbin utility (our source here is dated
09/30/85 -- there's no doubt a more recent version) patched by
me to generate AUFS files instead of MacBinary files. The end
result is that I no longer need to read c.b.m: I just connect
to the CAP/AUFS server and do a view by date to see what's new.
I suppose I could go one step further and use unsit to uncompress
any StuffIt archives, but I prefer to leave them compressed to
save server disk space.
To get back to your problem though, if you are using a Unix system,
I'd suggest you get a copy of xbin and do your unbinhexing under
Unix. Uncompressing StuffIt archives on the Mac is easy enough:
just select all the archives you want to uncompress, double click
to launch StuffIt, and hold down the shift key until it starts
uncompressing.
If you're interested in any of the things I mentioned above, the
following caveats apply: the lex Subject parser is still subject
(:-) to periodic tweaking whenever someone posts an article in
some bizarre new format, and I have seen other similar utilities
advertised; the C program that strips out news gunk is trivial
enough that you can probably write it yourself in the time it
would take me to send it to you; and I am unwilling to distribute
patches to xbin without knowing what the most recent general
release of it is.
John
--
john j. chew, iii phone: +1 416 425 3818 AppleLink: CDA0329
trigraph, inc., toronto, canada {uunet!utai!utcsri,utgpu,utzoo}!trigraph!john
dept. of math., u. of toronto poslfit@{utorgpu.bitnet,gpu.utcs.utoronto.ca}
Technical Details
Message-ID:
<454@trigraph.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!dciem!trigraph!johnReferences:
<wYNPz6y00WB44PDUoC@andrew.cmu.edu> <8230@phoenix.Princeton.EDU>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!dciem!trigraph!john From: john@trigraph.UUCP (John Chew) Newsgroups: comp.sys.mac Subject: Re: Mass de-binhexing Keywords: binhex, stuffit Message-ID: <454@trigraph.UUCP> Date: 9 May 89 17:55:48 GMT References: <wYNPz6y00WB44PDUoC@andrew.cmu.edu> <8230@phoenix.Princeton.EDU> Reply-To: poslfit@gpu.utcs.UToronto.CA (John Chew) Organization: Trigraph Inc., Toronto, Canada Lines: 65