Files
cheatsheet-tldr/tldr/base32

26 lines
448 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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}}`
- Decode a file:
`base32 --decode {{path/to/file}}`
- Encode from `stdin`:
`{{somecommand}} | base32`
- Decode from `stdin`:
`{{somecommand}} | base32 --decode`