[Users] Using filter actions to call shell script to change Subject of Message

Ralf Mardorf silver.bullet at zoho.com
Tue Mar 28 21:02:27 CEST 2017


On Tue, 2017-03-28 at 19:45 +0200, Ralf Mardorf wrote:
> On Tue, 28 Mar 2017 18:02:32 +0100, sue butler wrote:
> > echo %F | xargs -n 1 remove-stuff.sh
> 
> "echo %F" means "echo /path/to/file", what you perhaps want is replacing
> "echo %F" with "cat %F", but then the headers and bodies of all
> selected mails are piped, they aren't separated, so "xargs -n 1"
> unlikely does what you want it to do.

PS:

Consider to do it this way

script.sh %f




More information about the Users mailing list