Product Documentation

c-treeRTG V2 Update Guide

Previous Topic

Next Topic

ctutil -upgrade switch

In V2 and later, a new switch is available for the ctutil command to upgrade data files.

Note: If you are upgrading to c-treeRTG V2 from prior releases, you will need to run the ctutil -upgrade command.

ctutil ‑upgrade

This option upgrades the file to the current configured format. It basically copies the file using the definitions in the configuration file. With this switch it is possible to take an existing data file and upgrade it to the latest format.

Usage:

ctutil -upgrade source_file [dest_file]

  • source_file - Source file name without extension.
  • dest_file - Destination file name without extension.

This capability gives the customer a tool to upgrade an existing file to match the current settings in ctree.conf and/or the current c-treeRTG file format. This switch makes it possible to upgrade an existing data file to the latest format. For example, it would be used if a revision changed the file's physical layout (e.g., altering the header). c-treeRTG logic attempts to handle files in older formats, however it may be necessary to upgrade files after installing a new revision to take advantage of new features or to correct bad behavior.

TOCIndex