mirror of https://github.com/CrimsonTome/tldr.git
25 lines
470 B
Markdown
25 lines
470 B
Markdown
# base32
|
|
|
|
> Encode or decode file or `stdin` to/from Base32, to `stdout`.
|
|
> More information: <https://www.gnu.org/software/coreutils/base32>.
|
|
|
|
- Encode a file:
|
|
|
|
`base32 {{path/to/file}}`
|
|
|
|
- Wrap encoded output at a specific width (`0` disables wrapping):
|
|
|
|
`base32 --wrap {{0|76|...}} {{path/to/file}}`
|
|
|
|
- Decode a file:
|
|
|
|
`base32 --decode {{path/to/file}}`
|
|
|
|
- Encode from `stdin`:
|
|
|
|
`{{somecommand}} | base32`
|
|
|
|
- Decode from `stdin`:
|
|
|
|
`{{somecommand}} | base32 --decode`
|