Skip to content

howto copy or move thunderbird profile to pc and back from different location to default location

So, I tried to be smarter as smart and I moved the default thunderbird location from "$HOME/.thunderbird" to "$HOME/somewhere/else/thunderbird". I will call the second path " from now one. "" is the reference to "$HOME".
First of all, copy the data (super smart hint, use scp or sshfs for the copy process.


cp -r --preserve=timestamp,mode /.thunderbird /

Afterwards you have to adapt some files since the old path is stored there as references.


cd /.thunderbird
grep -lr 'path\/to\/thunderbird' *
#for each files
vim 
%s/path\/to\/thunderbird/\.thunderbird/g

Now start your thunderbird for the first time and everything should be fine.