mimedecode - extract MIME attachments in uudecode-like manner
mimedecode [-d directory] < file
mimedecode [-d directory] file...
mimedecode processes mail files using MIME::Parser module. It handles "multipart" messages and saves "attached" files (i.e. parts with suggested file names) to their suggested names in the directory specified after -d, or the current directory if -d is not given.
It needs the module installed.
Should probably consider more of headers in deciding if it really is a useful attachment.
Slapped together by Nick Ing-Simmons <firstname.lastname@example.org>
To install PerlPowerTools, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.