basenc Command Examples

Encode or decode file or stdin using a specified encoding, to stdout. More information: https://www.gnu.org/software/coreutils/manual/html_node/basenc-invocation.html.

basenc --base64 {{path/to/file}}

basenc {{[-d|--decode]}} --base64 {{path/to/file}}

{{command}} | basenc --base32 {{[-w|--wrap]}} 42

{{command}} | basenc --base32