[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, nut, when I hint Y, mutt tell me that "Key Y is
not mapped"

What could I doing wrong?

-- 
Marcelo


[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.
> 
> > #!/usr/bin/env python
> [...]
> 
> That is very nice, even cleaner than I imagined it might be.

Thanks - yes, my intention was just to demo the approach. I've done
a few MIME walks in Python so this was a simple modification of some
existing code. Even with many years of mutt experience I think rolling
this up last night was faster than getting something steady and sturdy
going with mutt macros, and I have more confidence in it.

There's certainly room to improve if anyone wants to take this further,
and you've raised a good point above. A few things ought to be sanitized
more.

-- 
David Champion • d...@bikeshed.us


signature.asc
Description: PGP signature