I know %(num) gets you the current message number in a folder. Is there an easy way to get the *name* of the folder?
I almost said no ... but I would have been wrong! % fmttest -raw -format '%(profile Current-Folder)' '' inbox And I learned something new today. Time to updare the documentation. (The usual caveats apply about that being the CURRENT folder, but depending on your use case it might be good enough). --Ken -- nmh-workers https://lists.nongnu.org/mailman/listinfo/nmh-workers
<Prev in Thread] | Current Thread | [Next in Thread> |
---|---|---|
|
Previous by Date: | [nmh-workers] Oddball question... %(num) and friends..., Valdis Klētnieks |
---|---|
Next by Date: | Re: [nmh-workers] detecting enclosed msg as spam - unicode regex help needed, I think; spam unicode chars in header, Ralph Corderoy |
Previous by Thread: | [nmh-workers] Oddball question... %(num) and friends..., Valdis Klētnieks |
Indexes: | [Date] [Thread] [Top] [All Lists] |