Code Monkey home page Code Monkey logo

pst-converter's Introduction

PST Converter

This small project aims to provide a free and open source way to convert .pst files (personal storage table) to MBOX files, structured in a way that Mozilla Thunderbird can import.

How it works

A docker container is run with the libpst library inside. The container invokes the converter.sh Bash script. The Bash script executes the readpst utility which converts all .pst files inside the in directory, and outputs them to the out directory. find commands are then run to restructure the directories so Thunderbird can import them.

Usage

  1. Put the .pst files to be converted into the in folder
  2. Build the docker image: docker-compose build
  3. Start conversion: docker-compose up
  4. The script will produce a single directory with an .sbd suffix (short for sub-directory). Example: 5db2f19c41144330b8c75bc1cb37d3cc.sbd

How to import into Thunderbird

You need to move the contents of the .sbd directory to a Thunderbird profile directory. To find this, go to Account Settings in Thunderbird, click Local Folders in the sidebar (or your actual email account if you want to import the messages to that). Under the Message Storage heading there will be a path - move the contents of the .sbd directory to that. Restart Thunderbird.

How to customize it

Conversion options can be set in the convert.sh file Input and output directories can be changed in docker-compose.yml. Keep in mind that the convert.sh script does some magic based on the output directory being out. Some later versions of this might make better usage of environment variables to 'fix' this ๐Ÿ™‚

Credits

Resources

pst-converter's People

Contributors

juanirm avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.