Decode base64 text using perl from the command line
By : Josh -
I recently ran into an issue where I needed to decode some base64 text from the command line and used perl to manage the task:
perl -MMIME::Base64 -ne 'print decode_base64($_)' < /tmp/input.txt
RE: http://perldoc.perl.org/MIME/Base64.html