[Dovecot] doveadm with multiple commands

A.L.E.C alec at alec.pl
Mon Sep 24 14:44:29 EEST 2012


On 09/22/2012 06:50 PM, Timo Sirainen wrote:
> On 21.9.2012, at 11.23, A.L.E.C wrote:
> 
>> On 09/20/2012 06:01 PM, Timo Sirainen wrote:
>>> Thoughts? Any better name for the command than "multi"?
>>
>> How about 'execute' or 'exec'.
> 
> v2.1.10 already has "dovecot exec" that does a different thing. So can't be anything related to "exec"..

next is "run" or "pipe", but what if you create global separator option
and detect multi-command syntax usage automatically without a keyword?

Syntax for doveadm would be

doveadm [-Dv] [-f formatter] [-s separator] [-A | -u wildcards ] command
[command_options] [command_arguments] [separator command
[command_options] [command_arguments] [...]]

and example

doveadm -A -s : expunge mailbox Trash savedbefore 7d : purge

-- 
Aleksander 'A.L.E.C' Machniak
LAN Management System Developer [http://lms.org.pl]
Roundcube Webmail Developer  [http://roundcube.net]
---------------------------------------------------
PGP: 19359DC1 @@ GG: 2275252 @@ WWW: http://alec.pl



More information about the dovecot mailing list