Does anyone know of a good tool that converts .pst to .csv files through command line?
4 Answers
A solution I just stumbled across is: libpst
It obviously doesn't convert straight to CSV, but it converts into a more manageable format.
Importing into Outlook and then exporting as CSV is still probably the quickest solution, but libpst would certainly be useful if all you have is the PST file and no Outlook.

- 417
- 3
- 5
Can you assume Outlook is installed on the computer? If so, I believe it can be background scripted using OLE or something similar. I've done file conversions through Excel using Ruby that way.
And here's a Perl example

- 730,956
- 141
- 904
- 1,278

- 5,500
- 1
- 29
- 27
one time only? or programmatically?
if one time only, import into a mail program that handles mbox (e.g. Thunderbird), at which point you just have text files, manipulate as desired.
otherwise, no idea, best of luck.

- 62,582
- 25
- 126
- 161
You can always write a .Net application using CDO, MAPI, OOM or Redemption, that does what you need. I've written a complete Outlook exporter tool for my company, which you can view at http://www.tzunami.com

- 2,145
- 1
- 18
- 40