This article is from the Mac communications FAQ, by Bruce L Grubb BruceG6069@aol.com with numerous contributions by others.
Yes, there are at least two that will handle BinHex 4.0, MacBinary II,
and other conversions. macutil and mcvert are distributed as UNIX shar
archvies and can be found in the unix directory at InfoMac sites.
Source code is included (of course) so you will need a C compiler to
build the programs. Be warned all of these programs are old and are
no longer supported by their authors.
* macutil (Last upload Aug 1992)
macutil is a collection of utilities for manipulating
Macintosh files in MacBinary [see 2.2] or BinHex [see 2.3]
format, or over AppleDouble, AUFS, or CAP servers. It
includes three programs:
hexbin - a program to convert BinHex 4.0 to MacBinary; it
also converts uuencode (and UULite) files to their native
binary format; support for .dl, .hex, and .hcx formats
(all predecessors of BinHex 4.0) also exists
macsave - a MacBinary filter program to convert between
various MacBinary representations, including a single .bin
file, three separate .data, .rsrc, .info files, and AUFS
format. macsave also allows one to "peek" inside MacBinary
macunpack - a program that decompress PackIt, Compact Pro,
StuffIt (Classic format), Diamond, DiskDoubler,
LHarc/MacLHa, .Z (UNIX compress) and Zoom
It also decodes BinHex 5.0, MacBinary, and uuencode.
Support for password protected and/or multi-segment
archives of various types is minimal or non-existent.
The various authors of the macutil utilities are too numerous
to list here; consult the README files that come with the
package for the details.
* mcvert (Last upload Oct 1994)
mcvert allows you to convert BinHex files to MacBinary files
and vice versa. In addition, you can create MacBinary files
with empty resource forks from normal files, as well as
perform other transformations. mcvert can also decode
mcvert was originally written in 1987 by Doug Moore, but had
many many new features and a better interface added by