---
title: "Migration d’un fichier PST (Outlook) vers Thunderbird Linux"
url: https://www.cyber-neurones.org/2021/01/migration-dun-fichier-pst-outlook-vers-thunderbird-linux/
date: 2021-01-04
modified: 2021-01-04
author: "Frederic"
description: "J'ai suivi le tutorial : https://www.flawlessrhetoric.com/Using-libpst-to-convert-PST-to-MBOX,-and-understanding-Thunderbird%27s-folder-structure J'ai donc fait : $ readpst -u backup.pst $ mv Outlook\ Data\ File/ out $ find out -type d | tac | grep -v..."
categories:
  - "Ubuntu"
tags:
  - "Thunderbird"
word_count: 141
---

# Migration d’un fichier PST (Outlook) vers Thunderbird Linux

J'ai suivi le tutorial : [https://www.flawlessrhetoric.com/Using-libpst-to-convert-PST-to-MBOX,-and-understanding-Thunderbird%27s-folder-structure](https://www.flawlessrhetoric.com/Using-libpst-to-convert-PST-to-MBOX,-and-understanding-Thunderbird%27s-folder-structure)

J'ai donc fait :
$ **readpst -u backup.pst**
$ **mv Outlook\ Data\ File/ out**
$ **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**
**rmdir: missing operand
Try 'rmdir --help' for more information.**
$ **find out -type d | egrep '*.sbd' | sed 's/.\{4\}$//' | xargs -d '\n' touch**
$ **du -sh ***
4,1G backup.pst
3,3G out

je ne suis pas sur et certain d'avoir tout mes emails ...vu que j'utilise snap le chemin est :
/home/**login**/snap/thunderbird/common/.thunderbird/**ID**.default/Mail/Local Folders/

Avec **login** : mon user et **ID** le id de thunderbird.

A suivre.