Skip to content
forked from mkorthof/ost2pst

OST2PST - converts Outlook OST files to PST format

Notifications You must be signed in to change notification settings

jdybala/ost2pst

 
 

Repository files navigation

OST2PST

A while ago I needed something to convert a 5GB Outlook OST file to PST format. Turned out Aspose has a good (commercial) API/library for Java to do exactly that. I had not touched Java for 10 years but got things sorted within a few hours thanks to clear instructions and good examples and docs. I just used the example and made minimal changes, nothing more.

Download

Get files below or from Releases page

Jar and wrappers

Usage

Windows: ost2pst.bat <input.ost> <output.pst> (same for .sh)

Example

C:\src\ost2pst>ost2pst.bat input.ost output.pst

OST2PST (200316)

INFO: Loading OST file "input.pst" (5GB)
      Folder [00] "Public"
      Folder [01] "Inbox"
      Folder [02] "Outbox"
      Folder [03] "Sent Items"

INFO: File format is "64-bit Unicode" (23)
INFO: Converting "input.pst" to "output.ost" 511MB/4751MB (11%) |

Changelog

20200317

  • show file format info
  • exits instead of trying to save outlook 2013+ files
  • jar also builds in maven now

20200313

  • error handling, added notice about outlook '13/16 files
  • updated aspose-email lib to 20.2

20200119

  • fixed (visual) error before convertion
  • improved messages and progress indicator
  • updated aspose-email lib to 19.12

20180915

  • improved progress indicator
  • updated aspose-email lib to 18.8

Source

Import into Eclipse:

Aspose.Email for Java API/lib (required)

Create runnable Jar in Eclipse

  • use Ant to 'Export', 'Java', 'Runnable JAR file' (used for ost2pst.jar)
  • or alternatively use Maven to build project

More info

Aspose.Email for Java: https://products.aspose.com/email/java
What lead me to Aspose: http://wiki.opf-labs.org/pages/viewpage.action?pageId=25887031
Possible alternative https://github.com/rjohnsondev/java-libpst


moved from old repo mkorthof/Aspose.Email-for-Java


About

OST2PST - converts Outlook OST files to PST format

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 99.0%
  • Other 1.0%