=head1 NAME

lei-export-kw - export keywords (flags) to Maildir and IMAP folders

=head1 SYNOPSIS

lei export-kw --all=[<remote|local>]

lei export-kw MFOLDER [MFOLDER...]

=head1 DESCRIPTION

C<lei export-kw> propagates keywords (e.g. C<seen>, C<answered>,
C<flagged>, etc.) from lei/store to IMAP folders and/or Maildirs.
It only works for messages lei knows about (e.g. was used as a
C<lei q --output>, or imported via L<lei-import(1)>, or indexed
via L<lei-index(1)>).

It does not delete, write, nor modify messages themselves;
it only sets metadata on Maildirs and IMAP folders.

=head1 OPTIONS

=over

=item --all

Export to all local Maildirs and remote IMAP folders

=item --all=local

Export all local Maildirs

=item --all=remote

Export all remote IMAP folders

=back

=head1 CONTACT

Feedback welcome via plain-text mail to L<mailto:meta@public-inbox.org>

The mail archives are hosted at L<https://public-inbox.org/meta/> and
L<http://4uok3hntl7oi7b4uf4rtfwefqeexfzil2w6kgk2jn5z2f764irre7byd.onion/meta/>

=head1 COPYRIGHT

Copyright all contributors L<mailto:meta@public-inbox.org>

License: AGPL-3.0+ L<https://www.gnu.org/licenses/agpl-3.0.txt>

=head1 SEE ALSO

L<lei-refresh-mail-sync(1)>, L<lei-tag(1)>
