Hi, On my 770 I have : /home/user/apps/email/Mail/Inbox who contains : toto^Inbox^nn.hdr (seems to contain header only) toto^Inbox^nn (seems to be a complete message) where nn is the message number from 1 "toto" is the name of my mailbox in osso-email. You have certainly an other name but it is not important. Additionally change the last line of the script by: Code: echo "$i emails saved on ~/$1/osso_to_claws" Now the script display the number of messages copied. After in xterm : Code: cd ~ ./MyDocs/.application/back.sh mydir The script print : Code: 53 emails saved on ~/mydir/osso_to_claws Now this directory contains the files previously in "/home/user/apps/email/Mail/Inbox" but renamed with only the number (from 1 to max). It's important that mydir is an existings directory in /home who is the directory of an existings mailbox created in claws-mail. Please verify if you have files in /home/user/apps/email/Mail/Inbox Jean-Luc
echo "$i emails saved on ~/$1/osso_to_claws"
cd ~ ./MyDocs/.application/back.sh mydir
53 emails saved on ~/mydir/osso_to_claws