1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-28 20:04:54 +02:00
tldr/pages/osx/base64.md
Lucas Gabriel Schneider a5fe31bc47
multiple pages: format technical tokens (#5119)
Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com>
Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
2021-01-31 12:05:18 -05:00

273 B

base64

Encode and decode using Base64 representation.

  • Encode a file:

base64 -i {{plain_file}}

  • Decode a file:

base64 -D -i {{base64_file}}

  • Encode from stdin:

echo -n {{plain_text}} | base64

  • Decode from stdin:

echo -n {{base64_text}} | base64 -D