💻 Software
Extract/save a mail attachment using bash
Fresh5 days ago
Mar 15, 202699144 viewsConfidence Score0%
0%
Problem
Using normal tools (ie, built-ins or commonly-available command-line tools), is it possible, and how to extract/save attachments on emails? For example, say I have a nightly report which arrives via email but is a zip archive of several log files. I want to save all those zips into a backup directo…
Error Output
bash
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Extract/save a mail attachment using bash
Low Risk
If you're aiming for portability, beware that there are several different versions of and . There's a POSIX command, but with very few requirements. And none of the implementations I have seem to parse attachments anyway. You might have the mpack pa…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix