Comments on: Convert maildir to mailbox http://codefreak.de/archiv/2007/05/09/convert-maildir-to-mailbox/ Weblog von Hagen Langbartels Wed, 24 Jun 2009 13:56:24 +0000 hourly 1 https://wordpress.org/?v=5.3.2 By: Rupert Swarbrick http://codefreak.de/archiv/2007/05/09/convert-maildir-to-mailbox/comment-page-1/#comment-219553 Wed, 24 Jun 2009 13:56:24 +0000 http://codefreak.de/archiv/2007/05/09/convert-maildir-to-mailbox/#comment-219553 Just in case anyone wants to use this on a maildir that has been cloned by e.g. offlineimap and has subdirectories, they probably don’t want it to catch those subdirectories when they’re listing the INBOX. The solution is to replace the find command above with

find $1 -maxdepth 2 -type f

which seems to work for me.

]]>