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.
- Main executable: ost2pst.jar
- Windows batch file: ost2pst.bat
- Linux shell script: ost2pst.sh
- SHA512SUMS
- JRE8
ost2pst.bat <input.ost> <output.pst>
- same for .sh, or run the jar directly with
java -jar ost2pst.jar
- currently the jar needs JRE8 but I might try to lower that requirement.
-
Required: Aspose.Email for Java API (lib):
-
To create runnable jar in Eclipse: Export > Runnable JAR file
- 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