1READPST(1) READPST(1)
2
3
4
6 readpst - convert PST (MS Outlook Personal Folders) files to mbox and
7 other formats
8
10 readpst [-D] [-M] [-S] [-V] [-b] [-c format] [-d debug-file] [-e] [-h]
11 [-j jobs] [-k] [-o output-directory] [-q] [-r]
12 [-t output-type-codes] [-u] [-w] pstfile
13
14
16 readpst is a program that can read an Outlook PST (Personal Folders)
17 file and convert it into an mbox file, a format suitable for KMail, a
18 recursive mbox structure, or separate emails.
19
20
22 -D Include deleted items in the output.
23
24
25 -M Output messages in MH (rfc822) format as separate files. This
26 will create folders as named in the PST file, and will put each
27 email together with any attachments into its own file. These
28 files will be numbered from 1 to n with no leading zeros.
29
30
31 -S Output messages into separate files. This will create folders as
32 named in the PST file, and will put each email in its own file.
33 These files will be numbered from 1 to n with no leading zeros.
34 So the email contents for message $m are saved in a file named
35 $m. Attachments will also be saved in the same folder as the
36 email message. The attachments for message $m are saved as
37 $m-$name where $name is (the original name of the attachment, or
38 'attach$n' if the attachment had no name), where $n is another
39 sequential index with no leading zeros.
40
41
42 -V Show program version and exit.
43
44
45 -b Do not save the attachments for the RTF format of the email
46 body.
47
48
49 -c format
50 Set the Contact output mode. Use -cv for vcard format or -cl for
51 an email list.
52
53
54 -d debug-file
55 Specify name of debug log file. The log file is now an ascii
56 file, instead of the binary file used in previous versions.
57
58
59 -e Same as the M option, but each output file will include an ex‐
60 tension from (.eml, .ics, .vcf).
61
62
63 -h Show summary of options and exit.
64
65
66 -j jobs
67 Specifies the maximum number of parallel jobs. Specify 0 to sup‐
68 press running parallel jobs.
69
70
71 -k Changes the output format to KMail.
72
73
74 -o output-directory
75 Specifies the output directory. The directory must already ex‐
76 ist, and is entered after the PST file is opened, but before any
77 processing of files commences.
78
79
80 -q Changes to silent mode. No feedback is printed to the screen,
81 except for error messages.
82
83
84 -r Changes the output format to Recursive. This will create folders
85 as named in the PST file, and will put all emails in a file
86 called "mbox" inside each folder. These files are then compati‐
87 ble with all mbox-compatible email clients.
88
89
90 -t output-type-codes
91 Specifies the item types that are processed. The argument is a
92 sequence of single letters from (e,a,j,c) for (email, appoint‐
93 ment, journal, contact) types. The default is to process all
94 item types.
95
96
97 -u Sets Thunderbird mode, a submode of recursive mode. This causes
98 two extra .type and .size meta files to be created.
99
100
101 -w Overwrite any previous output files. Beware: When used with the
102 -S switch, this will remove all files from the target folder be‐
103 fore writing. This is to keep the count of emails and attach‐
104 ments correct.
105
106
108 This manual page was originally written by Dave Smith <dave.s@earth‐
109 corp.com>, and updated by Joe Nahmias <joe@nahmias.net> for the Debian
110 GNU/Linux system (but may be used by others). It was subsequently up‐
111 dated by Brad Hards <bradh@frogmouth.net>, and converted to xml format
112 by Carl Byington <carl@five-ten-sg.com>.
113
114
116 Copyright (C) 2002 by David Smith <dave.s@earthcorp.com>. XML version
117 Copyright (C) 2008 by 510 Software Group <carl@five-ten-sg.com>.
118
119
120 This program is free software; you can redistribute it and/or modify it
121 under the terms of the GNU General Public License as published by the
122 Free Software Foundation; either version 2, or (at your option) any
123 later version.
124
125
126 You should have received a copy of the GNU General Public License along
127 with this program; see the file COPYING. If not, please write to the
128 Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
129
130
132 0.6.44
133
134
135
136
137 2009-09-14 READPST(1)