unhex (1)
Leading comments
Title: megatron Author: [FIXME: author] [see http://docbook.sf.net/el/author] Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> Date: 02 Sep 2011 Manual: Netatalk 2.2 Source: Netatalk 2.2 Language: English
NAME
megatron, unhex, unbin, unsingle, hqx2bin, single2bin, macbinary - Macintosh file format transformerSYNOPSIS
- megatron [sourcefile...]
-
unbin [sourcefile...]
- unhex [sourcefile...]
- unsingle [sourcefile...]
- hqx2bin [sourcefile...]
- single2bin [sourcefile...]
- macbinary [sourcefile...]
- unhex [sourcefile...]
DESCRIPTION
megatron
If megatron is called as unhex , unbin or unsingle, 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.
If megatron is called as hqx2bin, single2bin, or macbinary, 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 afpd server to some other machine when you can't copy them from the server using a Macintosh for some reason.
If megatron is called with any other name, it uses the default translation, namely unhex.
If no source file is given, or if sourcefile is `-', and if the conversion is from a BinHex or MacBinary file, megatron will read from standard input.
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!
OPTIONS
-v, --version
- Show version.