Encode or decode file or
stdin
to/from base64, tostdout
or another file. More information: https://keith.github.io/xcode-man-pages/base64.1.html.
stdout
:base64 {{[-i|--input]}} {{path/to/file}}
base64 {{[-i|--input]}} {{path/to/input_file}} {{[-o|--output]}} {{path/to/output_file}}
0
disables wrapping):base64 {{[-b|--break]}} {{0|76|...}} {{path/to/file}}
stdout
:base64 {{[-d|--decode]}} {{[-i|--input]}} {{path/to/file}}
stdin
to stdout
:{{command}} | base64
stdin
to stdout
:{{command}} | base64 {{[-d|--decode]}}