tldr/pages.it/common/base64.md

21 lines
364 B
Markdown
Raw Normal View History

2019-01-23 22:06:04 +00:00
# base64
> Codifica o decodifica file o standard input in Base64 su standard output.
> Maggiori informazioni: <https://www.gnu.org/software/coreutils/base64>.
2019-01-23 22:06:04 +00:00
- Codifica un file:
`base64 {{nome_file}}`
- Decodifica un file:
2021-03-07 22:58:11 +00:00
`base64 --decode {{nome_file}}`
2019-01-23 22:06:04 +00:00
- Codifica da stdin:
2019-01-23 22:06:04 +00:00
`{{comando}} | base64`
- Decodifica da stdin:
2019-01-23 22:06:04 +00:00
2021-03-07 22:58:11 +00:00
`{{comando}} | base64 --decode`