![]() | regconvert |
Prev | Command Line: Specialised Utilities | Next |
regconvert — Convert between different Regina file formats
regconvert [[-x
] | [-u
] | [-b
]] {old-file
} [new-file
]
Between Regina versions 2.4 and 3.0, the data files changed from using an impenetrable and undocumented binary format to using (optionally compressed) XML.
This utility converts back and forth between these different file formats.
The argument old-file
should be the file to
read and convert; the argument new-file
should
be the name of the new converted file to write. These two filenames
may be the same, in which case the old file will be replaced with the new.
If the argument new-file
is missing then the
new file will be written to standard output, which forces the output to be
uncompressed XML (see option -u
).
When writing an old-style binary file, some information might be lost. Old-style binary files can only store information that was understood by the old version Regina 2.4.