🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #42197

Re: Mass de-binhexing

#42197
From: Stephen M. Robinson
Date: Tue, 09 May 1989 18:08
43 lines
2257 bytes
First, the method I have been using.  Get "mcvert" from sumex or elsewhere
and use it on your unix box to convert hqx files (it handles part?.hqx
pieces without any intervention) to SIT, PIT, etc bin files.  Download
those binary files with a macbinary xmodem, ftp, etc and then use stuffit's
multiple file unstuffing capability.

Today I wrote the following c-shell "prog" to create "ready to go" binary
files from hqx files.  Problem 1: hqx files have to be joined if they
are in parts.  Problem 2: some icons are not making it on applications; I
don't know why.  Problem 3:  It handles only SIT files.  OF course, you
must have xbin, unsit, unxbin and mcvert from sumex!  Use at your own risk!!  
===cut here====
#!/bin/csh
foreach f ($*)
	echo "Running xbin on file "$f
	xbin $f
	echo "Completed xbin on "$f
	foreach g (*[S,s][I,i][T,t].data)
		echo "Running unsit on file "$g
		unsit $g
		echo "Completed unsit on "$g
		rm -f $g:r.*
	end
	foreach g (*data)
		echo "Running unxbin and mcvert on file "$g
		unxbin $g:r
		mcvert $g:r.hqx
		echo "Completed unxbin and mcvert on file" $g
		rm -f $g:r.data $g:r.info $g:r.rsrc $g:r.hqx
	end
	echo "Completed file "$f
end
echo "Completed all hqx files"
======
Stephen M. Robinson, AI Group, School of Information and Computer Science
Georgia Institute of Technology, Atlanta Georgia, 30332-0280  404-894-8932
uucp:     ...!{allegra,amd,hplabs,ut-ngp}!gatech!prism!robinson
Internet: robinson@prism.gatech.edu
-- 
Stephen M. Robinson, AI Group, School of Information and Computer Science
Georgia Institute of Technology, Atlanta Georgia, 30332-0280  404-894-8932
uucp:     ...!{allegra,amd,hplabs,ut-ngp}!gatech!prism!robinson
Internet: robinson@prism.gatech.edu
Technical Details
Message-ID: <617@hydra.gatech.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ncar!gatech!prism!robinson
References: <wYNPz6y00WB44PDUoC@andrew.cmu.edu> <8230@phoenix.Princeton.EDU> <39671@bbn.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ncar!gatech!prism!robinson
From: robinson@prism.gatech.EDU (Stephen M. Robinson)
Newsgroups: comp.sys.mac
Subject: Re: Mass de-binhexing
Keywords: binhex, stuffit
Message-ID: <617@hydra.gatech.EDU>
Date: 9 May 89 18:08:00 GMT
References: <wYNPz6y00WB44PDUoC@andrew.cmu.edu> <8230@phoenix.Princeton.EDU> <39671@bbn.COM>
Reply-To: robinson@prism.gatech.EDU (Stephen M. Robinson)
Organization: Georgia Tech Computer Science, AI Group
Lines: 43