[SPAM?] Re: 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 07:55:12AM -0300, Marcelo Laia wrote: > On 14/09/16 at 08:06pm, Luis Mochan wrote: > > > Maybe you could use the program 'ripmime' directly from bash. I found > > it in the debian repositories. I use it manually through a mutt macro > > > > macro index Ys "|

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

2016-09-15 Thread Marcelo Laia
On 14/09/16 at 08:06pm, Luis Mochan wrote: > Maybe you could use the program 'ripmime' directly from bash. I found > it in the debian repositories. I use it manually through a mutt macro > > macro index Ys "| ~/.mutt/saveattachments\n" "Save attachments" > Hi, I try to use your script,

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

2016-09-15 Thread David Champion
* On 14 Sep 2016, Cameron Simpson wrote: > On 14Sep2016 18:35, David Champion wrote: > > Just an aside, now often do you encounter "/" in a Message-ID? It is legal, > and has long discouraged me from the otherwise obvious and inuitive > name-a-file-after-the-message-id. > > >

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

2016-09-14 Thread Cameron Simpson
On 14Sep2016 18:35, David Champion wrote: I'd be going for the Python stuff, lacking your context. See attached. You can pipe a message into this program (within mutt or elsewhere): | mutt-savefiles /tmp/foo It will create a directory under /tmp/foo named for the message's

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

2016-09-14 Thread Luis Mochan
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. > ... Maybe you could use