Uploading DITA content using the command line option
Content Importer can be run unattended if started from the command line. When done this way, no user interaction is required.
The actions that the Content Importer tool performs are passed in the command line parameters. Errors and other messages are logged to a file and the program closes automatically when it is finished with the requested task(s).
The tool supports a limited number of command line parameters in the form command:value. Parameters can be entered in any order and are case insensitive.
Most properties, such as the connection properties, must be set in attended or interactive mode (that is, when you start the tool from the Start menu). Once they are set in attended mode, they are used when the tool runs unattended. Valid command line parameters are:
| Parameter | Description |
|---|---|
| Help | Shows help text on available command line parameters. |
| Action | Task the tool should perform. Possible values are:
|
| Reguidize | Whether the topics should be assigned a new GUID or not ("reGUIDize"). Values for true can be yes or true. Anything else is interpreted as false. |
| Inputfolder | The folder that contains the content for conversion. Paths that contain spaces must be enclosed in double quotes. Do not use a trailing backslash for directories. (You can use double backslash if desired.) |
| Outputfolder | The folder in which to store the converted content. Paths that contain spaces must be enclosed in double quotes. Do not use a trailing backslash for directories. (You can use double backslash if desired.) |
Version number in filemap: When you have used several versions of this tool, it may become confusing with what version a particular filemap was created. The tool version is therefore added to the root element of the filemap in an attribute dita2trisoft as of version 0.9.8.7.