CIB merge technical documentation (EN)

6. Call parameters in detail

6.22. Parameter --directory-read

The --directory-read parameter stores the contents of a file in the virtual directory. If necessary, the existing content will be overwritten.
This Parameter is also used for Merge-Recombine. (from CIB merge version 3.9.181)


Syntax
--directory-read=<Dateiname>

or

--directory-read=<virtueller Dateiname>=<Dateiname>

or (from CIB merge version 3.9.181)

--directory-read=cibrec-snippetN.rtf=<Dateiname>
N=0,1,2….


Description

For <filename> all specifications are possible, which are also allowed with the parameter --inputfile.  The short form of the parameter is --directory-read=<filename>, where <filename> is also used as <virtual filename>.

Note: If the <filename> contains the characters "+" "-" "!", these are interpreted as switches and are not considered part of the file name.

Any switches +/-/! etc. are not included in the name.

Merge recombine (from CIB merge version 3.9.181):
The CIB viewers (CIB view&rec and CIB jview&rec2) offer the possibility to enter or edit text passages in CIB REC fields. These text passages are stored by the CIB viewers in so-called RTF snippet files. When the editing process of a document is finished, CIB merge merges the RTF snippets into the document and saves them as new output RTF.

The snippet files are transferred to CIB merge using the parameter "--directory-read=cibrec-snippetN.rtf=<filename>" if the files are on the hard drive.


Example

--directory-read=inNeu.log=in.log
--directory-write=inNeu.log=!out.log

The --directory-read parameter stores the content of the file in.log into the virtual file inNew.log. In the next step, the virtual file with the name inNew.log is taken and the content is written to out.log.