Base64 with OSX¶
from this blog.
openssl base64 -d -in infile -out outfile
openssl base64 -in infile -out outfile
You can also use perl:
perl -pe 'use MIME::Base64; $_=MIME::Base64::decode($_);'
and there’s also the base64 utility in MacPorts. OpenSSL is already installed and I don’t have to dick around with perl to use it.