pspp-convert is a command-line utility accompanying pspp. It reads an SPSS system or portable file input and writes a copy of it to another output in a different format. Synopsis:
pspp-convert [options] input output pspp-convert --help pspp-convert --version
The format of input is automatically detected, when possible.
The character encoding of old SPSS system files cannot always be
guessed correctly, and SPSS/PC+ system files do not include any
indication of their encoding. Use -e
encoding to specify
the encoding in this case.
By default, the intended format for output is inferred based on its extension:
csv
txt
sav
sys
por
As a special case of format conversion, pspp-convert can decrypt an encrypted SPSS system file. Specify the encrypted file as input. The output will be the equivalent plaintext SPSS system file. You will be prompted for the password (or use -p, documented below).
Use -O
extension to override the inferred format or to
specify the format for unrecognized extensions.
The following options are accepted:
-O csv
requests comma-separated
value output.
Be aware that command-line options, including passwords, may be
visible to other users on multiuser systems.