ripmime

Extract MIME attachments from email messages

TLDR

Extract attachments to current directory
$ ripmime -i path/to/file
Extract attachments to specific directory
$ ripmime -i path/to/file -d path/to/directory
Extract with verbose output
$ ripmime -i path/to/file -v
Get debug information about decoding
$ ripmime -i path/to/file --debug

SYNOPSIS

ripmime [options] -i file

DESCRIPTION

ripmime extracts attachments from MIME encoded email packages. It parses email files and saves embedded attachments to disk.The tool handles various MIME encoding types and can process emails with multiple attachments or nested structures.

PARAMETERS

-i file

Input MIME encoded file
-d directory
Output directory for extracted attachments
-v
Enable verbose output
--debug
Show detailed decoding information

INSTALL

sudo apt install ripmime
sudo dnf install ripmime
sudo apk add ripmime
brew install ripmime
nix profile install nixpkgs#ripmime

CAVEATS

Be cautious when extracting attachments from untrusted emails as they may contain malware. Verify attachment safety before opening.

HISTORY

Developed for automated email processing and attachment extraction. Commonly used in email filtering and archiving systems.

SEE ALSO

munpack(1), mpack(1)