For various reasons, I’ve found myself needing to decode email file attachments in base64. (It’s ugly and involves mailx. You don’t want to know.)
Here’s how to do it:
openssl base64 -d -in infilename -out outfilename
from macosxhints.com
Help I need a cool blog name!
For various reasons, I’ve found myself needing to decode email file attachments in base64. (It’s ugly and involves mailx. You don’t want to know.)
Here’s how to do it:
openssl base64 -d -in infilename -out outfilename
from macosxhints.com
Chas. Owens says:
I am such a Perl head, I would say
7 February 2010, 7:25 pmperl -MMIME::Base64 -0lE 'say decode_base64 ' infilename