mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 05:22:09 +02:00
add base64 for osx
This commit is contained in:
parent
d1f19dd065
commit
398a93be52
1 changed files with 19 additions and 0 deletions
19
pages/osx/base64.md
Normal file
19
pages/osx/base64.md
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
# 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 {{plain_text}} | base64`
|
||||||
|
|
||||||
|
- Decode from stdin:
|
||||||
|
|
||||||
|
`echo {{base64_text}} | base64 -D`
|
Loading…
Add table
Reference in a new issue