ripmime
Extract attachments out of a MIME encoded email package. tldr-pages
On Linux
Linux
Extract file contents in the current directory
ripmime -i path/to/fileIdentifyExtract file contents in a specific directory
ripmime -i path/to/file -d path/to/directoryIdentifyExtract file contents and print verbose output
ripmime -i path/to/file -vIdentifyGet detailed information about the whole decoding process
ripmime -i path/to/file --debugIdentify