APPLESINGLE(1) General Commands Manual APPLESINGLE(1)
applesingle, binhex, macbinary – encode and decode files
<tool> probe file ...
<tool> [decode] [-c] [-fv] [-C dir] [-o outfile] [file ...]
<tool> -h | -V
applesingle encode [-cfv] [-s suf] [-C dir] [-o outfile] file ...
binhex encode [-R] [-cfv] [-s suf] [-C dir] [-o outfile] file ...
macbinary encode [-t 1-3] [-cfv] [-s suf] [-C dir] [-o outfile] file ...
applesingle, binhex, macbinary are implemented as a single tool with
multiple names. All invocations support the three verbs encode, decode,
If multiple files are passed to probe, the exit status will be non-zero
only if all files contain data in the specified encoding.
perform the operation even if the output file already exists
display version and usage, then quit
display version, then quit
-c, --pipe, --from-stdin, --to-stdout
For decode, read encoded data from the standand input. For
encode, write encoded data to the standard output. Currently,
"plain" data must be written to and from specified filenames (see
-C, --directory dir
create output files in dir
-o, --rename name
Use name for output, overriding any stored or default name. For
encode, the appropriate suffix will be added to name. -o implies
only one file to be encoded or decoded.
-s, --suffix .suf
override the default suffix for the given encoding
don't use BinHex runlength compression when encoding
-t, --type 1-3
Specify MacBinary encoding type. Type 1 is undesirable because it
has neither a checksum nor a signature and is thus difficult to
In general, the tool returns a non-zero exit status if it fails.
Darwin 14 November 2005 Darwin