1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/base32.md

25 lines
463 B
Markdown
Raw Normal View History

2016-02-05 11:37:35 -05:00
# base32
> Encode or decode file or `stdin` to/from Base32, to `stdout`.
> More information: <https://manned.org/base32>.
2016-02-05 11:37:35 -05:00
- Encode a file:
`base32 {{path/to/file}}`
2016-02-05 11:37:35 -05:00
2024-03-17 01:11:21 +11:00
- Wrap encoded output at a specific width (`0` disables wrapping):
`base32 {{-w|--wrap}} {{0|76|...}} {{path/to/file}}`
2024-03-17 01:11:21 +11:00
2016-02-05 11:37:35 -05:00
- Decode a file:
`base32 {{-d|--decode}} {{path/to/file}}`
2016-02-05 11:37:35 -05:00
- Encode from `stdin`:
2016-02-05 11:37:35 -05:00
`{{command}} | base32`
2016-02-05 11:37:35 -05:00
- Decode from `stdin`:
2016-02-05 11:37:35 -05:00
`{{command}} | base32 {{-d|--decode}}`