From 1f3c78c7155b5f3dba93e06c60136b9a7dafeffb Mon Sep 17 00:00:00 2001 From: Michal Date: Wed, 15 Apr 2020 18:00:05 +0200 Subject: [PATCH] create base64.md initial --- pages.pl/common/base64.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 pages.pl/common/base64.md diff --git a/pages.pl/common/base64.md b/pages.pl/common/base64.md new file mode 100644 index 0000000000..2d1d654fe9 --- /dev/null +++ b/pages.pl/common/base64.md @@ -0,0 +1,19 @@ +# base64 + +> Encode or decode file or standard input to/from Base64, to standard output. + +- Encode a file: + +`base64 {{filename}}` + +- Decode a file: + +`base64 -d {{filename}}` + +- Encode from `stdin`: + +`{{somecommand}} | base64` + +- Decode from `stdin`: + +`{{somecommand}} | base64 -d`