tldr/pages/common/base32.md

21 lines
369 B
Markdown
Raw Normal View History

2016-02-05 16:37:35 +00:00
# base32
> Encode or decode file or standard input to/from Base32, to standard output.
> More information: <https://www.gnu.org/software/coreutils/base32>.
2016-02-05 16:37:35 +00:00
- Encode a file:
`base32 {{path/to/file}}`
2016-02-05 16:37:35 +00:00
- Decode a file:
`base32 --decode {{path/to/file}}`
2016-02-05 16:37:35 +00:00
- Encode from `stdin`:
2016-02-05 16:37:35 +00:00
`{{somecommand}} | base32`
- Decode from `stdin`:
2016-02-05 16:37:35 +00:00
2021-03-07 22:58:11 +00:00
`{{somecommand}} | base32 --decode`