- git clone git://github.com/rgrove/larch.git
- git clone git://gitorious.org/trollop/mainline.git
- emerge -av highline
- Make a list of folders on the from server - I used the contents of my thunderbird directory. E.g. something like:
find . -name '*.msf' | sed -e 's/.msf//' -e's/.sbd//g' -e 's/-1//' -e 's/.\///'|sort|uniq
- xemacs above to create a file, with one line for each folder with a simple format: from_format to_label
- Feed into a script something like:
while read from to ; do
ruby -Imainline/lib:larch/lib \
larch/bin/larch \
--from imap://imap.example.foo --from-user XYZ --from-pass OPW \
--to imaps://imap.gmail.com --to-user ABC --to-pass DEF \
--from-folder $from --to-folder $to
done