If .news/
is the maildir that you want to convert to the mbox news
, this one-liner will do the job for you.
mutt -f .news/ -e 'set confirmcreate=no; set delete=no; push "T.*<enter>;snews<enter><quit>"'
(Gleaned from this mailing list post )
comments powered by Disqus