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 <email@example.com>