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

20 lines
273 B
Markdown
Raw Normal View History

2016-01-18 17:20:20 +08:00
# base64
> Encode and decode using Base64 representation.
- Encode a file:
`base64 -i {{plain_file}}`
- Decode a file:
2018-04-21 13:22:44 +02:00
`base64 -d -i {{base64_file}}`
2016-01-18 17:20:20 +08:00
- Encode from stdin:
`echo -n {{plain_text}} | base64`
2016-01-18 17:20:20 +08:00
- Decode from stdin:
`echo -n {{base64_text}} | base64 -D`