[SPAM?] Re: [SPAM?] Can I use Mutt from Bash to extract attachments into an arbitrary directory?

2016-09-15 Thread Mark H. Wood
On Wed, Sep 14, 2016 at 04:12:48PM -0700, Are Troi wrote: > Hi All, > > Last night at a technical talk I lamented the loss around 5 years ago > from Fedora of command-line tools to extract email attachments from a > BASH script and a colleague told me Mutt can do this. Mutt is a really nice

[SPAM?] Re: [SPAM?] Re: [SPAM?] Can I use Mutt from Bash to extract attachments into an arbitrary directory?

2016-09-15 Thread Luis Mochan
On Thu, Sep 15, 2016 at 11:33:41AM +0200, Richard Z wrote: > On Thu, Sep 15, 2016 at 10:53:02AM +1000, Cameron Simpson wrote: > > On 14Sep2016 16:12, Are Troi wrote: > > > Last night at a technical talk I lamented the loss around 5 years ago > ... > tried ripmime and munpak

Re: [SPAM?] Re: [SPAM?] Can I use Mutt from Bash to extract attachments into an arbitrary directory?

2016-09-15 Thread Richard Z
On Thu, Sep 15, 2016 at 10:53:02AM +1000, Cameron Simpson wrote: > On 14Sep2016 16:12, Are Troi wrote: > >Last night at a technical talk I lamented the loss around 5 years ago > >from Fedora of command-line tools to extract email attachments from a > >BASH script and a

[SPAM?] Re: [SPAM?] Re: [SPAM?] Can I use Mutt from Bash to extract attachments into an arbitrary directory?

2016-09-14 Thread David Champion
* On 14 Sep 2016, Cameron Simpson wrote: > > Mutt is probably a poor match for the task because although it will decode > messages etc, all the saving is interactive. In particular, there's no API > for "iterating" over attachments, let along recursively. Agree. It's entirely doable, but not

[SPAM?] Re: [SPAM?] Can I use Mutt from Bash to extract attachments into an arbitrary directory?

2016-09-14 Thread Cameron Simpson
On 14Sep2016 16:12, Are Troi wrote: Last night at a technical talk I lamented the loss around 5 years ago from Fedora of command-line tools to extract email attachments from a BASH script and a colleague told me Mutt can do this. If you mean the MIME tools mpack and

[SPAM?] Can I use Mutt from Bash to extract attachments into an arbitrary directory?

2016-09-14 Thread Are Troi
Hi All, Last night at a technical talk I lamented the loss around 5 years ago from Fedora of command-line tools to extract email attachments from a BASH script and a colleague told me Mutt can do this. I installed Mutt, checked out the man pages, went through the documentation, spent an hour or