]> arthur.barton.de Git - netatalk.git/blob - man/man1/megatron.1
e659835d321bf9272cfc25508eeb15a96c3caac2
[netatalk.git] / man / man1 / megatron.1
1 .TH megatron 1 "8 Jan 1992" 2.0.1 Netatalk 
2 .SH NAME
3 megatron, unhex, unbin, unsingle, hqx2bin, single2bin, macbinary \- Macintosh file format transformer
4 .SH SYNOPSIS
5 \fBmegatron\fR [\fBsourcefile\fR]\&...
6 .sp 1
7 \fBunbin\fR [\fBsourcefile\fR]\&...
8 .sp 1
9 \fBunhex\fR [\fBsourcefile\fR]\&...
10 .sp 1
11 \fBunsingle\fR [\fBsourcefile\fR]\&...
12 .sp 1
13 \fBhqx2bin\fR [\fBsourcefile\fR]\&...
14 .sp 1
15 \fBsingle2bin\fR [\fBsourcefile\fR]\&...
16 .sp 1
17 \fBmacbinary\fR [\fBsourcefile\fR]\&...
18 .SH DESCRIPTION
19 megatron is used to transform files from BinHex,
20 MacBinary, AppleSingle, or \fBnetatalk\fR style
21 AppleDouble formats into MacBinary or \fInetatalk\fR
22 style AppleDouble formats. The \fInetatalk\fR
23 style AppleDouble format is the file format used by \fIafpd,\fR
24 the \fInetatalk\fR Apple Filing Protocol
25 (AppleShare) server. BinHex, MacBinary, and AppleSingle are commonly used
26 formats for transferring Macintosh files between machines via email or
27 file transfer protocols. megatron uses its name to
28 determine what type of tranformation is being asked of it.
29 .PP
30 If megatron is called as unhex
31 , unbin or unsingle, it tries to
32 convert file(s) from BinHex, MacBinary, or AppleSingle into AppleDouble
33 format. BinHex is the format most often used to send Macintosh files by
34 e\-mail. Usually these files have an extension of ".hqx". MacBinary
35 is the format most often used by terminal emulators "on the fly"
36 when transferring Macintosh files in binary mode. MacBinary files often
37 have an extension of ".bin". Some Macintosh LAN\-based email
38 packages use uuencoded AppleSingle format to "attach" or
39 "enclose" files in email. AppleSingle files don't have a
40 standard filename extension.
41 .PP
42 If megatron is called as hqx2bin,
43 single2bin, or macbinary, it will
44 try to convert the file(s) from BinHex, AppleSingle, or AppleDouble into
45 MacBinary. This last translation may be useful in moving Macintosh files
46 from your afpd server to some other machine when you
47 can't copy them from the server using a Macintosh for some reason.
48 .PP
49 If megatron is called with any other name, it
50 uses the default translation, namely unhex.
51 .PP
52 If no source file is given, or if \fIsourcefile\fR
53 is `\fB\-\fR', and if the
54 conversion is from a BinHex or MacBinary file, megatron
55 will read from standard input.
56 .PP
57 The filename used to store any output file is the filename that is
58 encoded in the source file. MacBinary files are created with a
59 ".bin" extension. In the case of conflicts, the old file is
60 overwritten!
61 .SH "SEE ALSO"
62 \fBafpd\fR(8)
63