base64
Encode and decode data, and print to standard output (POSIX, toybox)
Syntax:
base64 [-di] [-w columns] [file...]
Runs on:
QNX OS
Options:
- -d
- Decode the input, previously created by base64.
- -i
- Ignore non-alphabetic characters when decoding.
- -w columns
- Wrap the encoded output at the specified line location. The default is 76 or 0 for no wrap.
- file
- The pathname of a file that is being encoded or decoded.
Description:
The base64 utility encodes and decodes files to standard output. If you do
not specify a file, or when a file is the dash character (-
),
base64 reads the standard input.
When decoding, the input may contain newlines in addition to the bytes of the formal Base64 alphabet.
This utility is provided as part of the toybox package. For information on how to enable it, see toybox.
Contributing author:
Rob Landley and the toybox project (see https://landley.net/toybox/).
Page updated: