![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Aix Unix Mailx Attachments | darioa | AIX | 3 | 01-07-2009 01:09 PM |
| Reading a mailbox and sending new messages to a text file | rsw626 | Shell Programming and Scripting | 1 | 04-17-2008 02:35 PM |
| how to extract a tilde delimited file in unix | trichyselva | Shell Programming and Scripting | 12 | 03-06-2007 12:19 AM |
| sending attachments via unix | Abhishek Ghose | UNIX for Advanced & Expert Users | 6 | 09-30-2005 05:49 PM |
| Mailbox file format | exile | UNIX for Advanced & Expert Users | 1 | 09-18-2001 10:44 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Extract all attachments from unix mailbox file
Hi guys,
I wondering if someone already wrote a script for this, it looks easy for the first shot but I would say it's a bit advanced. I want to extract all my email attachments from /var/mail/username (Unix mail format) + from my local mails (Maildir format) to a directory with the original filename, and rename it automatically if 2 attachments have the same name. Thunderbird has an extension for it but I would like to do it with shellscript. If noone knows script for this (tried googling of course) then I write my own. Pbly sed would be sufficient to process the whole mailbox file and find the attachments as records. Thanks Last edited by raynor; 06-24-2008 at 02:21 AM.. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|