rust-base641
Encode/decode data and print to standard output with no file, or when file is -, read standard input. the data are encoded as described for the base64 alphabet in rfc 3548. when decoding, the input may contain newlines in addition to the bytes of the formal base64 alphabet. use --ignore-garbage to attempt to recover from any other non-alphabet bytes in the encoded stream.
Usage
base64 [{-d | --decode}]
[{-i | --ignore-garbage}]
[{-w | --wrap}]
[{-h | --help}]
[{-V | --version}]
[file]
Overview
encode/decode data and print to standard output With no FILE, or when FILE is -, read standard input.
The data are encoded as described for the base64 alphabet in RFC 3548. When decoding, the input may contain newlines in addition to the bytes of the formal base64 alphabet. Use --ignore-garbage to attempt to recover from any other non-alphabet bytes in the encoded stream.
Options
-
-d, --decode -
decode data
-
-i, --ignore-garbage -
when decoding, ignore non-alphabetic characters
-
-w, --wrap=COLS -
wrap encoded lines after COLS character (default 76, 0 to disable wrapping)
-
-h, --help -
Print help
-
-V, --version -
Print version
- [file]
Version
v0.0.30
Releases
2 releases since Debian 12 (Bookworm); the text changed 1 time.
-V since Debian 13 (Trixie);
-h since Debian 13 (Trixie).