manpagez: man pages & more
man macbinary(1)
Home | html | info | man
applesingle(1)            BSD 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 mul-
     tiple names.  All invocations support the three verbs encode, decode, and

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


     -f, --force
              perform the operation even if the output file already exists

     -h, --help
              display version and usage, then quit

     -v, --verbose
              be verbose

     -V, --version
              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 also mount_fdesc(8)).

     -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

     -R, --no-runlength-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 recognize.


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

Darwin                         14 November 2005                         Darwin

Mac OS X 10.9 - Generated Sat Oct 12 06:53:10 CDT 2013
© 2000-2021
Individual documents may contain additional copyright information.