February 27, 2012

howto import maildir mails to thunderbird

1_ you need to change extension of file in maildir folder to eml
--script to change extensions of file from [EXTENSION] to eml

#!/bin/bash

for i in *. [EXTENSION] *

do
e=`echo $i | sed 's/. [EXTENSION] $/.eml/'`
cp $i $e
done


++++++++additional help - this will replace extensions in the script

--sed -i 's/\[EXTENSION\]/debian/g' convert.sh
\\ change \[EXTENSION\] to whatever extension you need



2_ drag&drop files with eml extension to inbox folder in thunderbird


No comments:

Post a Comment

How to type letters with accent

Very useful article https://www.freecodecamp.org/news/how-to-type-letters-with-accents-on-mac/