Message: previous - next
Month: June 2018

Re: [trinity-users] KMail migration to another computer

From: William Morder <doctor_contendo@...>
Date: Sun, 17 Jun 2018 05:56:29 -0700

On Saturday 16 June 2018 03:59:47 Glen Cunningham wrote:
> G'day All Trinity Gurus,
>     I am currently running KMail on a very old KDE/Trinity installation.
>   /etc/issue shows "Ubuntu 10.04.4 LTS"  which needs to be pensioned off
> immediately.
>     I have installed tde-14.0.4-ubuntu-16.04.1-desktop-amd64.iso onto a
> newer computer.  The installation seems OK and I managed to transfer
> the mozilla bookmarks to the new computer  but getting KMail across has
> me stumped.
>    Googling did not produce anything useful. :-(((
>    On this old computer the KMail info seems to be stored in
> /home/glen/.kde3/share/apps/kmail
>    but the new installation seems to have a very different directory
> structure.
>   So, can the KMail settings and emails be copied to the newer computer?
> If anyone knows how, please let me know in GOF-speak (that is words of
> 2-syllables or less).
> Ta,
> Glen

Well, first of all I would backup kmail (and anything else) before a new 
installation. (~ = your username, or other variables: replace that with 
whatever is appropriate to your system.) 
sudo cp -r -v -f /home/~/.kde/share/apps/kmail/* -t /media/~/kmail-backup/
Then I would copy it to your new system from that: 
sudo cp -r -v -f /media/~/kmail-backup/* -t /opt/trinity/share/apps/kmail/ 
However, in a pinch you can cut out the middle-man, and just do this: 
cp -r -v -f /home/~/.kde/share/apps/kmail/* -t /opt/trinity/share/apps/kmail/
Don't forget the asterisk; that's very important. 

You might notice some legacy items (old emails that you had long since sent or 
answered, etc.); but I've done this many times, and haven't actually lost 
anything, only found some items duplicated.