1MEGATRON(1) Netatalk 2.1 MEGATRON(1)
2
3
4
6 megatron, unhex, unbin, unsingle, hqx2bin, single2bin, macbinary -
7 Macintosh file format transformer
8
10 megatron [sourcefile...]
11 unbin
12 [sourcefile...]
13 unhex
14 [sourcefile...]
15 unsingle
16 [sourcefile...]
17 hqx2bin
18 [sourcefile...]
19 single2bin
20 [sourcefile...]
21 macbinary
22 [sourcefile...]
23
25 megatron is used to transform files from BinHex, MacBinary,
26 AppleSingle, or netatalk style AppleDouble formats into MacBinary or
27 netatalk style AppleDouble formats. The netatalk style AppleDouble
28 format is the file format used by afpd, the netatalk Apple Filing
29 Protocol (AppleShare) server. BinHex, MacBinary, and AppleSingle are
30 commonly used formats for transferring Macintosh files between machines
31 via email or file transfer protocols. megatron uses its name to
32 determine what type of tranformation is being asked of it.
33
34 If megatron is called as unhex , unbin or unsingle, it tries to convert
35 file(s) from BinHex, MacBinary, or AppleSingle into AppleDouble format.
36 BinHex is the format most often used to send Macintosh files by e-mail.
37 Usually these files have an extension of ".hqx". MacBinary is the
38 format most often used by terminal emulators "on the fly" when
39 transferring Macintosh files in binary mode. MacBinary files often have
40 an extension of ".bin". Some Macintosh LAN-based email packages use
41 uuencoded AppleSingle format to "attach" or "enclose" files in email.
42 AppleSingle files don´t have a standard filename extension.
43
44 If megatron is called as hqx2bin, single2bin, or macbinary, it will try
45 to convert the file(s) from BinHex, AppleSingle, or AppleDouble into
46 MacBinary. This last translation may be useful in moving Macintosh
47 files from your afpd server to some other machine when you can´t copy
48 them from the server using a Macintosh for some reason.
49
50 If megatron is called with any other name, it uses the default
51 translation, namely unhex.
52
53 If no source file is given, or if sourcefile is `-´, and if the
54 conversion is from a BinHex or MacBinary file, megatron will read from
55 standard input.
56
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 ".bin"
59 extension. In the case of conflicts, the old file is overwritten!
60
62 afpd(8)
63
64
65
66Netatalk 2.1 8 Jan 1992 MEGATRON(1)