APPLESINGLE(1) General Commands Manual APPLESINGLE(1)

applesingle, binhex, macbinaryencode 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, and probe.

If multiple files are passed to probe, the exit status will be non-zero only if files contain data in the specified encoding.

, --force
perform the operation even if the output file already exists
, --help
display version and usage, then quit
, --verbose
be verbose
, --version
display version, then quit
, --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 also mount_fdesc(8)).
, --directory dir
create output files in dir
, --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.
, --suffix .suf
override the default suffix for the given encoding
, --no-runlength-encoding
don't use BinHex runlength compression when encoding
, --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 recognize.

In general, the tool returns a non-zero exit status if it fails.

14 November 2005 Darwin