coreutils: base64 invocation
1
1 3.6 ‘base64’: Transform data into printable data
1 ================================================
1
1 ‘base64’ transforms data read from a file, or standard input, into (or
1 from) base64 encoded form. The base64 encoded form uses printable ASCII
1 characters to represent binary data. Synopses:
1
1 base64 [OPTION]... [FILE]
1 base64 --decode [OPTION]... [FILE]
1
1 The base64 encoding expands data to roughly 133% of the original.
1 The base32 encoding expands data to roughly 160% of the original. The
1 format conforms to RFC 4648 (https://tools.ietf.org/search/rfc4648).
1
11 The program accepts the following options. Also see ⇒Common
options.
1
1 ‘-w COLS’
1 ‘--wrap=COLS’
1 During encoding, wrap lines after COLS characters. This must be a
1 positive number.
1
1 The default is to wrap after 76 characters. Use the value 0 to
1 disable line wrapping altogether.
1
1 ‘-d’
1 ‘--decode’
1 Change the mode of operation, from the default of encoding data, to
1 decoding data. Input is expected to be base64 encoded data, and
1 the output will be the original data.
1
1 ‘-i’
1 ‘--ignore-garbage’
1 When decoding, newlines are always accepted. During decoding,
1 ignore unrecognized bytes, to permit distorted data to be decoded.
1
1 An exit status of zero indicates success, and a nonzero value
1 indicates failure.
1