basenc
v(uutils coreutils) 0.1.0
Options
--decode,-d,-D- 
base-common-help-decode
 --ignore-garbage,-i- 
base-common-help-ignore-garbage
 --wrap=<COLS>,-w <COLS>- 
base-common-help-wrap
 --base64- 
basenc-help-base64
 --base64url- 
basenc-help-base64url
 --base32- 
basenc-help-base32
 --base32hex- 
basenc-help-base32hex
 --base16- 
basenc-help-base16
 --base2lsbf- 
basenc-help-base2lsbf
 --base2msbf- 
basenc-help-base2msbf
 --z85- 
basenc-help-z85
 
Examples
Encode a file with base64 encoding:
basenc --base64 {{path/to/file}}
Decode a file with base64 encoding:
basenc {{[-d|--decode]}} --base64 {{path/to/file}}
Encode from stdin with base32 encoding with 42 columns:
{{command}} | basenc --base32 {{[-w|--wrap]}} 42
Encode from stdin with base32 encoding:
{{command}} | basenc --base32
The examples are provided by the tldr-pages project under the CC BY 4.0 License.
Please note that, as uutils is a work in progress, some examples might fail.