7. Command Line Interface and Configuration File
The
The command line interface is fairly straightforward; it is described in section 7.1.
The configuration file can be simple or complex, depending on the number of translations configured and the customization requirements for each translation. We suggest that the best way to become acquainted with the configuration file is to experiment with configuration settings through the
7.1 Command Line
The translation command line syntax is as follows:
nmtrans [
Arguments in [ ] are optional. The arguments are:
Audit log file specification – specifies a file for writing an audit log. The audit log receives messages detailing translation work. The process must have write and file create access to this directory.
If “0” is specified for the path, audit messages are not logged.
Background mode – the translator is detached from the process that started it and runs until explicitly stopped. The default is interactive mode (i.e., not background mode); the translator performs the specified translation on the specified input directory and then exits.
This argument is mutually exclusive with
Customization – the translator calls the customization module prior to the write portion of the translation, allowing
Cache age limit – cache items older than n days will be purged. The default cache age limit is ten days.
Debug – breaks the translation process into separate phases.
The phases are specified by n as follows:
1 – Read; reads input files into intermediate format
2 – Customize; performs
Page 27 of 33