tldr/pages.it/common/base64.md

21 lines
397 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.
2021-03-30 08:06:32 +01:00
> Maggiori informazioni: <https://www.gnu.org/software/coreutils/manual/html_node/base64-invocation.html>.
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`