-
Notifications
You must be signed in to change notification settings - Fork 4
base64
Vurdalakov edited this page Apr 26, 2016
·
2 revisions
base64 command-line tool encodes and decodes base64 strings.
Implementation is compatible with RFC 2045 .
base64 <filename | text> <-command> [-o:filename] [-l:0] [-silent]
-e command encodes text
-d command decodes text
-ef command encodes file
-df command decodes file
-o writes output to given file
-l sets max base64 line length (default is 76); use 0 to avoid new lines
-silent shows no error messages; please check exit code
0 - conversion succeeded
1 - conversion failed
-1 - invalid command line syntax
base64 "Строка текста" -e -silent
base64 filename.txt -df -o:filename.txt -l:0