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 --decode --base64 {{path/to/file}}

{{command}} | basenc --base32 -w42

{{command}} | basenc --base32