On 12/04/17, Kevin J. McCarthy wrote: > On Wed, Apr 12, 2017 at 03:26:51PM +0200, Oliver Graute wrote: > > how can I strip of the first 23 chars of my filename string in the > > folder_format setting? > > I don't believe the built-in format specifiers give this functionality. > You may want to try using a filter: > https://dev.mutt.org/doc/manual.html#formatstrings-filters
thx for this filer hint. to transform format string 11 N Apr 12 08:19 [email protected]/Mailinglists.mutt-users/ into 11 N Apr 12 08:19 Mailinglists.mutt-users/ just set this into .muttrc set folder_format = "$HOME/Scripte/cut.sh '%2C %t %N %d %f'|"$ write a little script with sed replacement cat cut.sh #!/bin/bash echo "$1" | sed 's/[email protected]\///' Best Regards, Oliver
pgpiP8T0ecuL9.pgp
Description: PGP signature
