One liner to convert Maildir/ to mbox using mutt

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 )

This entry was posted in General and tagged , , , , . Bookmark the permalink.

5 Responses to One liner to convert Maildir/ to mbox using mutt

  1. t says:

    Nice but does’nt work with cron, it always returns
    “No recipients were specified”

  2. koitsu says:

    Why on EARTH would you try something like this in cron? Good lord…

  3. koitsu says:

    Why on EARTH would you try something like this in cron? Good lord…

  4. Pingback: linsec.ca blog » Converting Maildir to mbox via mutt

  5. Michael says:

    Great Tip. Thanks!

    Los Angeles Electrician
    http://www.branovercontractors.com

blog comments powered by Disqus