1pspp-convert(1) PSPP Manual pspp-convert(1)
2
3
4
6 pspp-convert - convert SPSS files to other formats
7
9 pspp-convert [options] input output
10 pspp-convert --help | -h
11 pspp-convert --version | -v
12
14 The pspp-convert program reads input, which may be an SPSS system file,
15 an SPSS/PC+ system file, an SPSS portable file, or an encrypted SPSS
16 syntax file, and writes it to output, performing format conversion as
17 necessary.
18
19 The format of input is automatically detected, when possible. The
20 character encoding of old SPSS system files cannot always be guessed
21 correctly, and SPSS/PC+ system files do not include any indication of
22 their encoding. Use -e encoding to specify the encoding in this case.
23
24 By default, the intended format for output is inferred from its exten‐
25 sion:
26
27 csv
28 txt Comma-separated value. Each value is formatted according to its
29 variable's print format. The first line in the file contains
30 variable names.
31
32 sav
33 sys SPSS system file.
34
35 por SPSS portable file.
36
37 sps SPSS syntax file. (Only encrypted syntax files may be converted
38 to this format.)
39
40 Use -O extension to override the inferred format or to specify the for‐
41 mat for unrecognized extensions.
42
43 pspp-convert can convert most input formats to most output formats.
44 Encrypted system file and syntax files are exceptions: if the input
45 file is in an encrypted format, then the output file must be the same
46 format (decrypted).
47
49 -O format
50 --output-format=format
51 Specifies the desired output format. format must be one of the
52 extensions listed above, e.g. -O csv requests comma-separated
53 value output.
54
55 -c maxcases
56 --cases=maxcases
57 By default, all cases are copied from input to output. Specify‐
58 ing this option to limit the number of cases written to output
59 to maxcases.
60
61 -e charset
62 --encoding=charset
63 Overrides the encoding in which character strings in input are
64 interpreted. This option is necessary because old SPSS system
65 files do not self-identify their encoding.
66
67 -p password
68 --password=password
69 Specifies the password to use to decrypt encrypted SPSS system
70 file or syntax file input. If this option is not specified,
71 pspp-convert prompts for the password.
72
73 On multiuser systems, this option may not be safe because other
74 users may be able to see the password in process listings.
75
76 -h
77 --help Prints a usage message on stdout and exits.
78
79 -v
80 --version
81 Prints version information on stdout and exits.
82
84 Ben Pfaff.
85
87 pspp(1), psppire(1).
88
89
90
91PSPP October 2013 pspp-convert(1)