base64(1) BSD General Commands Manual base64(1)NAMEbase64 — Encode and decode using Base64 representation
SYNOPSISbase64 [-d | -h | -v | -D] [-b count] [-i input_file] [-o output_file]
DESCRIPTIONbase64 encodes and decodes Base64 data, as specified in RFC 4648. With no
options, base64 reads raw data from stdin and writes encoded data as a
continuous block to stdout.
The following options are available:
--break=count Insert line breaks every count characters. Default
is 0, which generates an unbroken stream.
--debug Print verbose log messages during processing.
--decode Decode incoming Base64 stream into binary data.
--help Print usage summary and exit.
--input=input_file Read input from input_file. Default is stdin; pass‐
ing - also represents stdin.
Write output to output_file. Default is stdout;
passing - also represents stdout.
--version Print build version and exit.
SEE ALSOopenssl(1), wikipedia page ⟨http://en.wikipedia.org/wiki/Base64⟩, RFC
Mac OS X 10.7 February 8, 2011 Mac OS X 10.7