Etape 1 : Mettre en place le bon soft :
# sudo apt-get -y install pst-utils
Etape 2 : Conversion :
# readpst -u backup-2021.pst # find out -type d | tac | grep -v '^out$' | xargs -d '\n' -I{} mv {} {}.sbd # find out -name mbox -type f | xargs -d '\n' -I{} echo '"{}" "{}"' | sed -e 's/\.sbd\/mbox"$/"/' | xargs -L 1 mv # find out -empty -type d | xargs -d '\n' rmdir # find out -type d | egrep '*.sbd' | sed 's/.\{4\}$//' | xargs -d '\n' touch # mv out/Boîte\ de\ réception.sbd/ ../snap/thunderbird/common/.thunderbird/zy3zk9ms.default/Mail/Local\ Folders/. # touch ../snap/thunderbird/common/.thunderbird/zy3zk9ms.default/Mail/Local\ Folders/Boîte\ de\ réception # touch ../snap/thunderbird/common/.thunderbird/zy3zk9ms.default/Mail/Local\ Folders/Boîte\ de\ réception.msf
A noter que le ID : zy3zk9ms n’est pas le même suivant les installations. Et aussi j’ai une installation sous snap, donc le répertoire n’est pas standard.
J’ai 42 Go d’email :
# du -sh ../snap/thunderbird/common/.thunderbird/zy3zk9ms.default/Mail/Local\ Folders/ 42G ../snap/thunderbird/common/.thunderbird/zy3zk9ms.default/Mail/Local Folders/
Misère.