nmh-workers
[Top] [All Lists]

[Nmh-workers] mhstore RFE: add facility to manipulate the original filename

2014-05-30 04:44:51

Background: I’m using mhstore in a script to automatically
extract images and text from messages. Since the messages come
from and results go to naïve users, I’d like to be able to use
the original file basenames so that they recognise what they
sent.

-auto isn’t desirable because it completely ignores the filename
if there’s anything dodgy about it. So I currently create a
temporary profile with mhstore-<type> lines, but this loses the
original filename completely.

What would be nice would be a means of getting a sanitised
version of the basename (probably less everything from the last
“.” too) of the original filename (when present). Could a %
format be provided to do this?

  — Jón

-- 
Jón Fairbairn                                 
Jon(_dot_)Fairbairn(_at_)cl(_dot_)cam(_dot_)ac(_dot_)uk



_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>
  • [Nmh-workers] mhstore RFE: add facility to manipulate the original filename, Jon Fairbairn <=