You are here > Old programs > Save Thunderbird profiles and mails Linux
Save Thunderbird profiles and mails Linux
Change the following only your have your mailfolder in an other folder
MAIL=$HOME/.thunderbird/randomstring.default/Mail
the randomstring.default in your home folder
cd .thunderbird
Now you can see the randomstring.
#!/bin/sh
#MAIL=$HOME/.thunderbird/randomstring.default/Mail
#Mail normal in the profiles folder. Ohterwise change it
TB=$HOME/.thunderbird
DATUM=$(date +"%Y%m%d-%H:%M:%S")
cd /
cd $TB
tar -cf $HOME/thunderbird_$DATUM.tar *
bzip2 -z $HOME/thunderbird_$DATUM.tar
if [$MAIL -eq ""]; then
�exit 1
else
� cd $MAIL�
� tar -cf $HOME/thunderbird_mails_$DATUM.tar *
� bzip2 -z $HOME/thunderbird_mails_$DATUM.tar
fi