Is there a terminal command in Mac OS X which will base64 encode a file or stdin?
|
feedback
|
|
Without the | |||||||
feedback
|
|
Openssl can be used more succinctly:
or
| |||
|
feedback
|
|
There is Perl plus MIME::Base64:
This comes pre-installed. You can specify separate files on the command line (or supply the data on standard input); each file is separately encoded. You can also do:
This backs up file1 to file1.txt, and writes the Base-64 encoded output over the original file. | |||
|
feedback
|
|
recode should do the trick for you
Here is the darwinports page for recode if its not already available. | |||||
|
feedback
|
