CIB merge technical documentation (EN)

6. Call parameters in detail

6.54. Parameter --outputfile

[--output/-o]

The --outputfile parameter specifies the output or result file.


Syntax
--outputfile=<Ausgabedatei>

Description

The call --outputfile=! overwrites an already existing output file, --outputfile=+ appends the output file to the already existing file and thus creates a MultiRTF file.

If no explicit path is given, the file is created in the working directory specified with --target-directory, without --target-directory the output file is stored in the current directory.


Example

  • Creation of a single-RTF file

--outputfile=!Anschreiben_out.rtf

The file cover_letter_out.rtf is written to the current directory. The exclamation mark may overwrite an already existing file.

The usage of the parameter is described in the example Gap Text.

--outputfile=!..\result\Kontenuebersicht.rtf

The file account_overview.rtf is written in the result directory. The exclamation mark overwrites an existing file if necessary.

The usage of the parameter in this way is described in the application example Templates.

 

  • Creation of a multi-RTF file

--logfile=!multirtf.log
--outputfile=!multirtf.rtf
--inputfile=input1.rtf
-@1
-m@
--outputfile=+multirtf.rtf
--inputfile=input2.rtf
-@1
-m@
--inputfile=input3.rtf
-@1
-mfertig.

This example creates a multi-RTF file from three RTF files and outputs the call parameters in each case. In the first merge process the multirtf.rtf is overwritten with --outputfile=!multirtf.rtf, then the other files are appended with --outputfile=+multirtf.rtf.