"maildir:/path/to/dir" has been supported by public-inbox-watch
for years, now.
The following all work today:
lei q -o mboxrd:/tmp/foo.mboxrd ...
lei q -o mboxcl2:/tmp/foo.mboxcl2 ...
lei q -o maildir:/tmp/foo/ ...
So -f/--format seems redundant. I'm working on on
"lei import" for multiple sources, so being able to specify the
type/URL-scheme on a per-source basis seems like the way to go:
lei import mboxrd:/tmp/foo.mboxrd maildir:/tmp/md/ ...
lei import imaps://$host/INBOX.foo nntps://$host/news.group ...
And there's also "lei convert" in the wings (mainly for
testing/development purposes, but could be useful stand-alone):
lei convert mboxrd:/tmp/foo.mboxrd maildir:/tmp/md/
--
unsubscribe: one-click, see List-Unsubscribe header
archive: https://public-inbox.org/meta/