3 .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
4 .\" Generator: DocBook XSL Stylesheets v1.78.0 <http://docbook.sf.net/>
6 .\" Manual: @NETATALK_VERSION@
7 .\" Source: @NETATALK_VERSION@
10 .TH "MEGATRON" "1" "02 Sep 2011" "@NETATALK_VERSION@" "@NETATALK_VERSION@"
11 .\" -----------------------------------------------------------------
12 .\" * Define some portability stuff
13 .\" -----------------------------------------------------------------
14 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15 .\" http://bugs.debian.org/507673
16 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
17 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
20 .\" -----------------------------------------------------------------
21 .\" * set default formatting
22 .\" -----------------------------------------------------------------
23 .\" disable hyphenation
25 .\" disable justification (adjust text to left margin only)
27 .\" -----------------------------------------------------------------
28 .\" * MAIN CONTENT STARTS HERE *
29 .\" -----------------------------------------------------------------
31 megatron, unhex, unbin, unsingle, hqx2bin, single2bin, macbinary \- Macintosh file format transformer
33 .HP \w'\fBmegatron\fR\fB\fR\fBunbin\fR\fB\fR\fBunhex\fR\fB\fR\fBunsingle\fR\fB\fR\fBhqx2bin\fR\fB\fR\fBsingle2bin\fR\fB\fR\fBmacbinary\fR\fB\fR\ 'u
34 \fBmegatron\fR\fB\fR [\fIsourcefile\fR...]
36 \fBunbin\fR\fB\fR [\fIsourcefile\fR...]
38 \fBunhex\fR\fB\fR [\fIsourcefile\fR...]
40 \fBunsingle\fR\fB\fR [\fIsourcefile\fR...]
42 \fBhqx2bin\fR\fB\fR [\fIsourcefile\fR...]
44 \fBsingle2bin\fR\fB\fR [\fIsourcefile\fR...]
46 \fBmacbinary\fR\fB\fR [\fIsourcefile\fR...]
50 is used to transform files from BinHex, MacBinary, AppleSingle, or
52 style AppleDouble formats into MacBinary or
54 style AppleDouble formats\&. The
56 style AppleDouble format is the file format used by
60 Apple Filing Protocol (AppleShare) server\&. BinHex, MacBinary, and AppleSingle are commonly used formats for transferring Macintosh files between machines via email or file transfer protocols\&.
62 uses its name to determine what type of transformation is being asked of it\&.
71 \fBunsingle\fR, it tries to convert file(s) from BinHex, MacBinary, or AppleSingle into AppleDouble format\&. BinHex is the format most often used to send Macintosh files by e\-mail\&. Usually these files have an extension of "\&.hqx"\&. MacBinary is the format most often used by terminal emulators "on the fly" when transferring Macintosh files in binary mode\&. MacBinary files often have an extension of "\&.bin"\&. Some Macintosh LAN\-based email packages use uuencoded AppleSingle format to "attach" or "enclose" files in email\&. AppleSingle files don\*(Aqt have a standard filename extension\&.
78 \fBmacbinary\fR, it will try to convert the file(s) from BinHex, AppleSingle, or AppleDouble into MacBinary\&. This last translation may be useful in moving Macintosh files from your
80 server to some other machine when you can\*(Aqt copy them from the server using a Macintosh for some reason\&.
84 is called with any other name, it uses the default translation, namely
87 If no source file is given, or if
89 is `\fB\-\fR\*(Aq, and if the conversion is from a BinHex or MacBinary file,
91 will read from standard input\&.
93 The filename used to store any output file is the filename that is encoded in the source file\&. MacBinary files are created with a "\&.bin" extension\&. In the case of conflicts, the old file is overwritten!
96 \fB\-v, \-\-version\fR