This page refers to the old SeisComP 3 version, and may no longer be accurate.
See seiscomp.de for the latest version.
sczip
To decompress files like the compressed xml eventfiles stored by scevtlog use sczip. sczip is a tiny (de)compressor that does not maintain a directory and file structure within the archive. It just (de)compresses a binary stream and writes it to stdout or a file.
Options
sczip supports commandline options as well as configuration files (sczip.cfg).
Commandline
- -d, --decompress
- Decompress the input stream. The default behaviour is compress.
- -o, --ouput
- Specify the output file. Default is stdout.
Configuration
No special configuration is supported by sczip except standard configuration options like logging.
Examples
Compress a file:
sczip dump.xml -o dump.xml.zip sczip dump.xml > dump.xml.zip cat dump.xml | sczip > dump.xml.zip
Decompress a file:
sczip -d dump.xml.zip -o dump.xml sczip -d dump.xml.zip > dump.xml cat dump.xml.zip | sczip -d > dump.xml