[comp.sys.mac] Converting a Stuffit file on a unix system.

guerra@lll-crg.llnl.gov (Frank M. Guerra) (07/20/89)

I'm sure that this must have been touched on before, but I have
a need to take .hqx files from archive site and convert them to their
Mac single file (not split file) form.  I've already fetched a utility
that converts a .hqx to a .bin file, but usually things are also stuffed.
I've also tried the unsit utility, but it doesn't seem to work.  I'm
probably wrong on this last part, but if anyone has done this sort of
thing on a regular basis, can you please e-mail me as to the details?
Due to the nature of this newsgroup, I often find a couple hundred messages
waiting after a few days and usually just 'catch up' and most likely would
miss a reply made back to the newsgroup.  

Thanks

Frank => guerra@lll-crg.llnl.gov

aw1j+@andrew.cmu.edu (Adam C. Duncan) (07/20/89)

The standard format for handling files is as follows:

1. Convert the file from hex using Bin/Hex 5.0 or some
   similar utility.

2. Now the file is in either Stuffit or PackIt format.
   Run the correct program to open the archive.

3. Now you should have all the Mac files that were in the archive
   as well as the .sit or .pit files on your disk.
4. Throw away the .sit/.pit files and throw away the .hqx file
   you started with.

Good Luck!
*****************************************************************
* Adam C. Duncan                       aw1j@andrew.cmu.edu      *
* Carnegie Mellon University           (412)268-5366            *
* GSIA Computing Group                (412)268-2276            *
*                                                               *
*****************************************************************

guerra@lll-crg.llnl.gov (Frank M. Guerra) (07/25/89)

Thanks for all of the assistance that I've gotten through mail and so forth.
However, it seems that I wasn't clear enough about my intentions.  A few
people have referred me to Binhex and Stuffit, both of which run on the Mac.
At no point in time are the files going to reside on the Mac.  I am looking
to doing the complete conversion entirely on the unix box.  I've already
discovered a utility that takes a .hqx file and converts it to a .bin file.
Unfortunately, the .bin file is a stuffed file, thus requiring a unix utility
to create the individual files.  There is something called unsit, but I have
been unsuccessful in using it.  I have had a useful hint in this regard, but as
yet have not been able to accomplish what I seeking to do.  

   I can convert files on the Mac, transfer them over to the unix box and then
perform further processing there, but it would expedite matters if I could 
remove the Mac steps of the process.  If anyone is interested in this, please
send mail and I'll email what I've discovered.

Thanks again,

Frank
guerra@lll-crg.llnl.gov