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 )

Bookmark and Share
This entry was posted in General and tagged , , , , . Bookmark the permalink.
  • http://oszwdupe.mybrute.com/ t

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

  • http://oszwdupe.mybrute.com t

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

  • http://www.apes.com/ koitsu

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

  • http://www.apes.com/ koitsu

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

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

  • http://profiles.yahoo.com/u/LSABEBDI4ZG55CPYB4SKJHTX6M Michael

    Great Tip. Thanks!

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