base64

Encode or decode file or stdin to/from base64, to stdout or another file. More information: https://man.freebsd.org/cgi/man.cgi?query=base64.

base64 {{[-i|--input]}} {{path/to/file}}

base64 {{[-i|--input]}} {{path/to/input_file}} {{[-o|--output]}} {{path/to/output_file}}

base64 {{[-b|--break]}} {{0|76|...}} {{path/to/file}}

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

{{command}} | base64

{{command}} | base64 {{[-d|--decode]}}