]> arthur.barton.de Git - netatalk.git/blob - man/man1/megatron.1
Freshly generated manpages from XML sources
[netatalk.git] / man / man1 / megatron.1
1 '\" t
2 .\"     Title: megatron
3 .\"    Author: [FIXME: author] [see http://docbook.sf.net/el/author]
4 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
5 .\"      Date: 8 Jan 1992
6 .\"    Manual: Netatalk 2.2
7 .\"    Source: Netatalk 2.2
8 .\"  Language: English
9 .\"
10 .TH "MEGATRON" "1" "8 Jan 1992" "Netatalk 2.2" "Netatalk 2.2"
11 .\" -----------------------------------------------------------------
12 .\" * set default formatting
13 .\" -----------------------------------------------------------------
14 .\" disable hyphenation
15 .nh
16 .\" disable justification (adjust text to left margin only)
17 .ad l
18 .\" -----------------------------------------------------------------
19 .\" * MAIN CONTENT STARTS HERE *
20 .\" -----------------------------------------------------------------
21 .SH "NAME"
22 megatron, unhex, unbin, unsingle, hqx2bin, single2bin, macbinary \- Macintosh file format transformer
23 .SH "SYNOPSIS"
24 .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
25 \fBmegatron\fR\fB\fR [\fIsourcefile\fR...]
26 .br
27 \fBunbin\fR\fB\fR [\fIsourcefile\fR...]
28 .br
29 \fBunhex\fR\fB\fR [\fIsourcefile\fR...]
30 .br
31 \fBunsingle\fR\fB\fR [\fIsourcefile\fR...]
32 .br
33 \fBhqx2bin\fR\fB\fR [\fIsourcefile\fR...]
34 .br
35 \fBsingle2bin\fR\fB\fR [\fIsourcefile\fR...]
36 .br
37 \fBmacbinary\fR\fB\fR [\fIsourcefile\fR...]
38 .SH "DESCRIPTION"
39 .PP
40 \fBmegatron\fR
41 is used to transform files from BinHex, MacBinary, AppleSingle, or
42 \fBnetatalk\fR
43 style AppleDouble formats into MacBinary or
44 \fBnetatalk\fR
45 style AppleDouble formats\&. The
46 \fBnetatalk\fR
47 style AppleDouble format is the file format used by
48 \fBafpd,\fR
49 the
50 \fBnetatalk\fR
51 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\&.
52 \fBmegatron\fR
53 uses its name to determine what type of tranformation is being asked of it\&.
54 .PP
55 If
56 \fBmegatron\fR
57 is called as
58 \fBunhex\fR
59 ,
60 \fBunbin\fR
61 or
62 \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\'t have a standard filename extension\&.
63 .PP
64 If
65 \fBmegatron\fR
66 is called as
67 \fBhqx2bin\fR,
68 \fBsingle2bin\fR, or
69 \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
70 \fBafpd\fR
71 server to some other machine when you can\'t copy them from the server using a Macintosh for some reason\&.
72 .PP
73 If
74 \fBmegatron\fR
75 is called with any other name, it uses the default translation, namely
76 \fBunhex\fR\&.
77 .PP
78 If no source file is given, or if
79 \fIsourcefile\fR
80 is `\fB\-\fR\', and if the conversion is from a BinHex or MacBinary file,
81 \fBmegatron\fR
82 will read from standard input\&.
83 .PP
84 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!
85 .SH "SEE ALSO"
86 .PP
87 \fBafpd\fR(8)